Skip to content

Commit 4da5274

Browse files
committed
DOC: Use hatch style reference in Collection docstring.
Instead of the hatch demo, which doesn't do what the docstring says it does.
1 parent a413e43 commit 4da5274

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/collections.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ def __init__(self,
141141
hatch : str, optional
142142
Hatching pattern to use in filled paths, if any. Valid strings are
143143
['/', '\\', '|', '-', '+', 'x', 'o', 'O', '.', '*']. See
144-
:doc:`/gallery/shapes_and_collections/hatch_demo` for the meaning
145-
of each hatch type.
144+
:doc:`/gallery/shapes_and_collections/hatch_style_reference` for
145+
the meaning of each hatch type.
146146
pickradius : float, default: 5.0
147147
If ``pickradius <= 0``, then `.Collection.contains` will return
148148
``True`` whenever the test point is inside of one of the polygons

0 commit comments

Comments
 (0)