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

Skip to content

Commit fb201e0

Browse files
committed
Add whatsnew
1 parent 5af82a7 commit fb201e0

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
A list of hatches can be specified to `~.axes.Axes.bar` and `~.axes.Axes.barh`
2+
------------------------------------------------------------------------------
3+
4+
Similar to some other rectangle properties, it is now possible to hand a list
5+
of hatch styles to `~.axes.Axes.bar` and `~.axes.Axes.barh` in order to create
6+
bars with different hatch styles, e.g.
7+
8+
.. plot::
9+
10+
import matplotlib.pyplot as plt
11+
12+
fig, ax = plt.subplots()
13+
ax.bar([1, 2], [2, 3], hatch=['+', 'o'])
14+
plt.show()

0 commit comments

Comments
 (0)