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

Skip to content

Commit a1b7862

Browse files
committed
DOC: update hatch_style_reference
1 parent 1a45bac commit a1b7862

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

examples/shapes_and_collections/hatch_style_reference.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@
33
Hatch style reference
44
=====================
55
6-
Hatching (pattern filled polygons) is currently supported in the backends
7-
PS, PDF, SVG and Agg. The backends OSX, WX and Cairo ignore hatching.
6+
Hatches can be added to most polygons in Matplotlib, including `~.Axes.bar`,
7+
`~.Axes.fill_between`, `~.Axes.contourf`, and childern of `~.patches.Polygon`.
8+
They are currently supported in the PS, PDF, SVG, OSX, and Agg backends. The WX
9+
and Cairo backends do not currently support hatching.
10+
11+
See also :doc:`/gallery/images_contours_and_fields/contourf_hatching` for
12+
an example using `~.Axes.contourf`, and
13+
:doc:`/gallery/shapes_and_collections/hatch_demo` for more usage examples.
14+
815
"""
916
import matplotlib.pyplot as plt
1017
from matplotlib.patches import Rectangle

0 commit comments

Comments
 (0)