Skip to content

Commit bd63121

Browse files
author
muahah
committed
Rename 'streamplot' test cases
1 parent 5a27f80 commit bd63121

12 files changed

+802
-803
lines changed
Binary file not shown.

lib/matplotlib/tests/baseline_images/test_streamplot/streamplot_colormap_test_image.svg renamed to lib/matplotlib/tests/baseline_images/test_streamplot/streamplot_colormap.svg

+799-800
Loading

lib/matplotlib/tests/test_streamplot.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ def velocity_field():
1717
return X, Y, U, V
1818

1919

20-
@image_comparison(baseline_images=['streamplot_colormap_test_image'])
20+
@image_comparison(baseline_images=['streamplot_colormap'])
2121
def test_colormap():
2222
X, Y, U, V = velocity_field()
2323
plt.streamplot(X, Y, U, V, color=U, density=0.6, linewidth=2,
2424
cmap=plt.cm.autumn)
2525
plt.colorbar()
2626

2727

28-
@image_comparison(baseline_images=['streamplot_linewidth_test_image'])
28+
@image_comparison(baseline_images=['streamplot_linewidth'])
2929
def test_linewidth():
3030
X, Y, U, V = velocity_field()
3131
speed = np.sqrt(U*U + V*V)
@@ -35,7 +35,7 @@ def test_linewidth():
3535
linewidth=lw)
3636

3737

38-
@image_comparison(baseline_images=['streamplot_masks_and_nans_test_image'])
38+
@image_comparison(baseline_images=['streamplot_masks_and_nans'])
3939
def test_masks_and_nans():
4040
X, Y, U, V = velocity_field()
4141
mask = np.zeros(U.shape, dtype=bool)

0 commit comments

Comments
 (0)