plt.subplots_adjust combined with ajustments in fig.set_size_inches is
finally working.
On Fri, Jul 31, 2009 at 11:55 AM, Tony S Yu <ton...@mit.edu> wrote:

> On Jul 30, 2009, at 5:16 PM, Gewton Jhames wrote:
>
> Anyone?
>
> On Tue, Jul 28, 2009 at 3:23 PM, Gewton Jhames <gjha...@gmail.com> wrote:
>
>> Guys, there is the code.
>> On Tue, Jul 28, 2009 at 3:13 PM, Gewton Jhames <gjha...@gmail.com> wrote:
>>
>>> Jae-Joon Lee, savefig("file.png", bbox_inches="tight") doesn't work too.
>>>
>>> On Mon, Jul 27, 2009 at 7:00 PM, Jae-Joon Lee <lee.j.j...@gmail.com>wrote:
>>>
>> [Snip]
>
>   On Mon, Jul 27, 2009 at 4:06 PM, Gewton Jhames<gjha...@gmail.com> wrote:
>>>> On the other hand, there is some crude support for trimming, i.e.,
>>>> reducing the figure size while the axes area fixed.
>>>>
>>>> savefig("file.png", bbox_inches="tight")
>>>>
>>>> Note that the figure size of the saved output is only affected. This
>>>> does not change the figure displayed on the screen.
>>>>
>>>> Regards,
>>>>
>>>> -JJ
>>>>
>>>
>>
> Jae-Joon's suggestion worked for me (using your code). Since this feature
> is pretty new, it may depend on the version you're using (I'm using the
> latest from svn).
>
> I couldn't get `autoscale_view` to work either. However, `subplots_adjust`
> should work with a little tweaking. Instead of the dimensions John gave,
> try plt.subplots_adjust(left=0.07, right=0.99). These dimensions may show up
> differently on your system, so try tweaking these values.
>
> Best,
> -T
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to