Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 594cae0 commit ae201fcCopy full SHA for ae201fc
1 file changed
lib/matplotlib/tests/test_axes.py
@@ -1358,8 +1358,12 @@ def test_markevery():
1358
ax.legend()
1359
1360
1361
-@image_comparison(['markevery_line'], remove_text=True)
+@image_comparison(['markevery_line'], remove_text=True, tol=0.005)
1362
def test_markevery_line():
1363
+ # TODO: a slight change in rendering between Inkscape versions may explain
1364
+ # why one had to introduce a small non-zero tolerance for the SVG test
1365
+ # to pass. One may try to remove this hack once Travis' Inkscape version
1366
+ # is modern enough. FWIW, no failure with 0.92.3 on my computer (#11358).
1367
x = np.linspace(0, 10, 100)
1368
y = np.sin(x) * np.sqrt(x/10 + 0.5)
1369
0 commit comments