Skip to content

Commit f837544

Browse files
committed
update link for hatch styles in docstring for stackplot
1 parent d7034b2 commit f837544

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/matplotlib/stackplot.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ def stackplot(axes, x, *args,
5656
If not specified, the colors from the Axes property cycle will be used.
5757
5858
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.
62-
The sequence need not be exactly the same length as the number
59+
A sequence of hatching styles. See
60+
:doc:`/gallery/shapes_and_collections/hatch_style_reference`.
61+
The sequence will be cycled through for filling the
62+
stacked areas from bottom to top.
63+
It need not be exactly the same length as the number
6364
of provided *y*, in which case the styles will repeat from the
6465
beginning.
6566

0 commit comments

Comments
 (0)