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

Skip to content

Commit 932d0e6

Browse files
authored
Merge pull request #24803 from ksunden/streamplot_zorder
Correct type in docstring of zorder for streamplot and LineCollection
2 parents f00862d + 2f4f4ca commit 932d0e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@ def __init__(self, segments, # Can be None.
13901390
allowed).
13911391
antialiaseds : bool or list of bool, default: :rc:`lines.antialiased`
13921392
Whether to use antialiasing for each line.
1393-
zorder : int, default: 2
1393+
zorder : float, default: 2
13941394
zorder of the lines once drawn.
13951395
13961396
facecolors : color or list of color, default: 'none'

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)