Jerzy Karczmarczuk-2 wrote:
>
> What do you really want?
>
I just wanted the axis line to end at the last y tick
> I would suggest using an explicit axis, e.g.
>
> plt.axis([0,0.10,-25,80])
>
> (or between -30 and 100, or 'tight', etc.)
>
I've never used an explicit axis. What will axis('tight') actually do?
> Perhaps you wanted axis('tight') rather than your tight_layout?
>
I actually wanted tight_layout. good.py and bad.py were just my attempt to
reduce the problem to the fewest lines of code before posting it. The actual
problem script has a lot more going on and tight_layout works well in that
script for reasons unrelated to this problem. Sorry if I made things unclear
by leaving the tight_layout line in the scripts that I posted.
--
View this message in context:
http://old.nabble.com/y-axis-misbehavior-tp33977870p33996132.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users