From: Jerzy K. <jer...@un...> - 2012-06-11 20:54:43
|
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 |