Hi,

yes as I understand it (happy to be corrected)...

fig = plt.figure(figsize=(8, 4))
fig.subplots_adjust(bottom=0.05)

does nothing unless you also do 

ax = fig.add_subplot(111)

but as I am also doing 

ax = fig.add_axes([0.1, 0.15, 0.7, 0.7]), it means I would just get two
frames.




Benjamin Root-2 wrote:
> 
> Just to make sure, were you calling subplots_adjust() *before* calling
> subplot()?  Calling it after subplot() shouldn't have an effect on the
> already created axes (I think...).
> 
> Ben Root
> 
> On Thu, Jun 10, 2010 at 3:41 PM, mdekauwe <mdeka...@gmail.com> wrote:
> 
>>
>> Unless I am mistaken subplots_adjust doesn't do anything as I am building
>> an
>> axes instance. Doing...
>>
>> fig = plt.figure(figsize=(8, 4))
>> ax = fig.add_axes([0.1, 0.15, 0.7, 0.7])
>>
>> has shrunk the white space, though I think the font of the legend looks a
>> bit less well defined, but perhaps that is just my eyes!
>>
>> http://old.nabble.com/file/p28848239/diffmap_JULES_DJF_snowFrac.GSWP2_vs_SSMI.jpeg
>>
>>
>>
>>
>> Jae-Joon Lee wrote:
>> >
>> > On Thu, Jun 10, 2010 at 1:55 PM, mdekauwe <mdeka...@gmail.com> wrote:
>> >> fig = plt.figure(figsize=(8, 6))
>> >
>> > This.
>> > Also play with subplots_adjust.
>> >
>> > -JJ
>> >
>> >
>> ------------------------------------------------------------------------------
>> > ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> > lucky parental unit.  See the prize list and enter to win:
>> > http://p.sf.net/sfu/thinkgeek-promo
>> > _______________________________________________
>> > Matplotlib-users mailing list
>> > Matplotlib-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Removing-white-space-surrounding-plots-tp28824528p28848239.html
>> Sent from the matplotlib - users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit.  See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>> _______________________________________________
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Removing-white-space-surrounding-plots-tp28824528p28848795.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to