On Feb 28, 2012, at 4:03 PM, Benjamin Root <ben.r...@ou.edu> 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=(10.0, 6.0))

With an existing Figure instance, you can also call

fig.set_figwidth(width_inches)

before saving (or set_figheight or set_size_inches)

http://matplotlib.sourceforge.net/api/figure_api.html#matplotlib.figure.Figure

JDH
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to