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

Skip to content

Commit eed5058

Browse files
committed
Fix minimum value of bars so it looks correct upon zooming.
svn path=/branches/transforms/; revision=4734
1 parent 2e8ce81 commit eed5058

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/polar_bar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
theta = npy.arange(0.0, 2*npy.pi, 2*npy.pi/N)
1414
radii = 10*npy.random.rand(N)
1515
width = npy.pi/4*npy.random.rand(N)
16-
bars = ax.bar(theta, radii, width=width, bottom=0.1)
16+
bars = ax.bar(theta, radii, width=width, bottom=0.0)
1717
for r,bar in zip(radii, bars):
1818
bar.set_facecolor( cm.jet(r/10.))
1919
bar.set_alpha(0.5)

0 commit comments

Comments
 (0)