Matplotlib: Histogram with bars inside grid lines...how??

Enigma Curry workbee at gmail.com
Thu Mar 30 06:11:49 CEST 2006


pylab.xlim(0.5,6.5)

should be:

pylab.xlim(min_x-(bar_width/2),max_x+(bar_width/2))




More information about the Python-list mailing list