Skip to content

Commit d7034b2

Browse files
committed
update docstring for hatch parameter of stackplot
1 parent 24a1429 commit d7034b2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/stackplot.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ def stackplot(axes, x, *args,
5555
5656
If not specified, the colors from the Axes property cycle will be used.
5757
58-
hatch : list of hatching styles, optional
59-
A sequence of styles to be cycled through for filling the stacked areas.
58+
hatch : list of str, default: None
59+
A sequence of hatching styles (see reference in
60+
https://matplotlib.org/devdocs/gallery/shapes_and_collections/hatch_style_reference.html)
61+
to be cycled through for filling the stacked areas.
6062
The sequence need not be exactly the same length as the number
6163
of provided *y*, in which case the styles will repeat from the
6264
beginning.

0 commit comments

Comments
 (0)