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

Skip to content

Commit 9b52ec4

Browse files
committed
DOC: update hatch_style_reference
1 parent debacee commit 9b52ec4

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

examples/shapes_and_collections/hatch_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
===========
3-
Hatche Demo
3+
Hatche demo
44
===========
55
66
Hatches can be added to most polygons in Matplotlib, including `~.Axes.bar`,

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)