10000 TST: add tolerance for tests to pass on 2.1.x branch · matplotlib/matplotlib@20ac580 · GitHub
[go: up one dir, main page]

Skip to content

Commit 20ac580

Browse files
committed
TST: add tolerance for tests to pass on 2.1.x branch
The test image was re-generated and the tolerance removed in #10077. Re-store the tolerance on 2.1.x to gets tests passing, this should not be merged into master branch.
1 parent 8a3569d commit 20ac580

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_streamplot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def test_startpoints():
4040
plt.plot(start_x, start_y, 'ok')
4141

4242

43-
@image_comparison(baseline_images=['streamplot_colormap'])
43+
@image_comparison(baseline_images=['streamplot_colormap'],
44+
tol=.02)
4445
def test_colormap():
4546
X, Y, U, V = velocity_field()
4647
plt.streamplot(X, Y, U, V, color=U, density=0.6, linewidth=2,

0 commit comments

Comments
 (0)
0