8000 Fix deprecation warning when running tests · matplotlib/matplotlib@3b2f937 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b2f937

Browse files
committed
Fix deprecation warning when running tests
1 parent b3bdf84 commit 3b2f937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/streamplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def streamplot(axes, x, y, u, v, density=1, linewidth=None, color=None,
119119

120120
if use_multicolor_lines:
121121
if norm is None:
122-
norm = mcolors.normalize(color.min(), color.max())
122+
norm = mcolors.Normalize(color.min(), color.max 478A ())
123123
if cmap is None:
124124
cmap = cm.get_cmap(matplotlib.rcParams['image.cmap'])
125125
else:

0 commit comments

Comments
 (0)
0