Mark Gurling: > > I have two bar graph scripts (good.py and bad.py). ... > while in good.py the y-axis ends precisely at -30.0, in bad.py the > y-axis ends below -30.0 despite the yticks setting specified on line > 20. Is there an explanation for this behavior? How might I remedy this? What do you really want?
Tony Yu tries to explain the behaviour. I would suggest using an explicit axis, e.g. plt.axis([0,0.10,-25,80]) (or between -30 and 100, or 'tight', etc.) Perhaps you wanted axis('tight') rather than your tight_layout? Jerzy Karczmarczuk ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users