Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e41755d

Browse files
committed
Correct type of zorder for streamplot
zorder is a float value, not an int (though _most_ places are integers for simplicity)
1 parent a668754 commit e41755d

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
@@ -60,7 +60,7 @@ def streamplot(axes, x, y, u, v, density=1, linewidth=None, color=None,
6060
start_points : Nx2 array
6161
Coordinates of starting points for the streamlines in data coordinates
6262
(the same coordinates as the *x* and *y* arrays).
63-
zorder : int
63+
zorder : float
6464
The zorder of the streamlines and arrows.
6565
Artists with lower zorder values are drawn first.
6666
maxlength : float

0 commit comments

Comments
 (0)