Re: [Matplotlib-users] [Basemap] savefig bbox_inches=tight

2011-10-27 Thread Yoshi Rokuko
+--- Jeff Whitaker ---+ > You can use the pad_inches keyword to adjust the amount of space left > around the map. > <...> > plt.savefig('bboxtight.png', bbox_inches='tight',pad_inches=0.45) yes that works fine (0.5 inches in my case). thank you.

Re: [Matplotlib-users] [Basemap] savefig bbox_inches=tight

2011-10-27 Thread Jeff Whitaker
On 10/27/11 1:41 AM, Yoshi Rokuko wrote: > if one saves a Basemap plot with savefig option > bbox_inches='tight' geographical coordinates > are cut: > > bmap = Basemap(...) > bmap.drawparallels([those,numbers,are,gone], > labels=[1,0,0,0]) > bmap.drawmeridians([those,numbers,are

[Matplotlib-users] [Basemap] savefig bbox_inches=tight

2011-10-27 Thread Yoshi Rokuko
if one saves a Basemap plot with savefig option bbox_inches='tight' geographical coordinates are cut: bmap = Basemap(...) bmap.drawparallels([those,numbers,are,gone], labels=[1,0,0,0]) bmap.drawmeridians([those,numbers,are,gone], labels=[0,0,0,1]) plt.contourf