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

Skip to content

Commit 20e3f97

Browse files
committed
Oops in hatch_demo.py
svn path=/trunk/matplotlib/; revision=6709
1 parent 63a8fc6 commit 20e3f97

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

examples/pylab_examples/hatch_demo.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
xytext=(0, 5),
1313
xycoords="axes fraction", textcoords="offset points", ha="center"
1414
)
15-
ax1.bar(range(1,5), range(1,5), color='gray', edgecolor='red', hatch="/")
15+
ax1.bar(range(1,5), range(1,5), color='gray', edgecolor='black', hatch="/")
1616

1717

1818
ax2 = fig.add_subplot(122)
@@ -23,5 +23,3 @@
2323
bar.set_hatch(pattern)
2424

2525
plt.show()
26-
plt.savefig("test.pdf")
27-
plt.savefig("test.ps")

0 commit comments

Comments
 (0)