Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bd63121

Browse filesBrowse files
author
muahah
committed
Rename 'streamplot' test cases
1 parent 5a27f80 commit bd63121
Copy full SHA for bd63121
Expand file treeCollapse file tree

12 files changed

+802
-803
lines changed
Binary file not shown.
Loading

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

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_streamplot/streamplot_colormap.svg
+799-800Lines changed: 799 additions & 800 deletions
Loading

‎lib/matplotlib/tests/test_streamplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_streamplot.py
+3-3Lines changed: 3 additions & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.