Le 11/06/2012 22:30, magurling a écrit :
> I just wanted the axis line to end at the last y tick

> I've never used an explicit axis. What will axis('tight') actually do?

In your case plt.axis('tight') will constrain the axes to your plotted 
object, no space above, below, or at the right. The "good" plot
gives x from 0 to 0.10, and y from -20.5 to 69. (The other: to 70).
The tight_layout directive is used mainly when you have several subplots.

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

Reply via email to