Skip to content

Commit 0cc2d50

Browse files
QuLogicImgBotApp
authored andcommitted
TST: Increase fp tolerance on more tests for new NumPy
This is similar to matplotlib#22132 in that NumPy has added more code paths that now take advantage of AVX512 optimizations and causes slight variations in results. Fixes matplotlib#24060
1 parent 765fd9b commit 0cc2d50

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎lib/matplotlib/tests/test_streamplot.py‎

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

3636

37-
@image_comparison(['streamplot_colormap'], remove_text=True, style='mpl20')
37+
@image_comparison(['streamplot_colormap'], remove_text=True, style='mpl20',
38+
tol=0.022)
3839
def test_colormap():
3940
X, Y, U, V = velocity_field()
4041
plt.streamplot(X, Y, U, V, color=U, density=0.6, linewidth=2,

0 commit comments

Comments
 (0)