Hi there,
John Hunter schrieb am Wed, 29. Feb 07:04:
> On Feb 28, 2012, at 4:03 PM, Benjamin Root wrote:
> > The size of the PNG will be based on the size of your figure object. When
> > you create your figure, you can pass a figsize kwarg which takes a tuple of
> > width, height in inches (d
On Feb 28, 2012, at 4:03 PM, Benjamin Root wrote:
> The size of the PNG will be based on the size of your figure object. When
> you create your figure, you can pass a figsize kwarg which takes a tuple of
> width, height in inches (defaults to 8 x 6, I think).
>
> fig = plt.figure(figsize=(
On Tue, Feb 28, 2012 at 3:48 PM, Mario Fuest wrote:
> Hi there,
>
> Currently i use these commands to layout and save my figures:
>
> > figure
> > ...
> > gca.set_aspect('equal')
> > gca.autoscale(tight=True)
> > ...
> > plt.savefig('fpp.png', bbox_inches='tight', pad_inches=0)
>
> I would
Hi there,
Currently i use these commands to layout and save my figures:
> figure
> ...
> gca.set_aspect('equal')
> gca.autoscale(tight=True)
> ...
> plt.savefig('fpp.png', bbox_inches='tight', pad_inches=0)
I would like to set the width of this png file, how to do that? If
savefig() does n