Skip to content

Commit 5fcbe81

Browse files
committed
Fix deprecation warning when running tests
1 parent 412ca06 commit 5fcbe81

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())
123123
if cmap is None:
124124
cmap = cm.get_cmap(matplotlib.rcParams['image.cmap'])
125125
else:

0 commit comments

Comments
 (0)