Saurav Pathak:
I would often save figures after show() from the savefig button on the
navigation toolbar.  I would like to trim white spaces using something
akin to bbox_inches='tight', but haven't been able to figure out how.  I
tried adding the following to matplotlibrc, but to no avail.
Adjust the position of your 'axes' rectangle, e. g.

from pylab import *
x=linspace(0,4*pi,500); y=sin(x)
*axes([0.05,0.05,0.93,0.92])*
plot(x,y); show()

the details will depend on the size of your labels.

==

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