Hi there,

While creating bar plots I found that bars with height 0 are not being
displayed. Their space is distributed evenly between the other
columns.

Sample script:
/--------------------------------------
from pylab import *
import sys
figure(8)
if(sys.argv[1].lower() == 'y'):
    bar([0, 1, 0, 0, 0], [0, 1, 0, 0, 0])
else:
    bar([1, 2, 3, 4, 5], [1, 2, 3, 4, 5])
show()
\--------------------------------------

Try it with argument 'y' and without.

So far I didn't find a solution. '0' is not an easy thing to google
:-) Anyone got an idea?

Cheers, B.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to