Re: [Matplotlib-users] plots do not scale to size

2011-02-02 Thread Daniel Mader
Hi, I'd very much vote for such a feature, too. It's absolutely not foolproof currently the way it is :( What I find weird, too, is that while everthing fits on the canvas for PDF output, the left side is cropped for PNG. ´ Best regards, Daniel 2011/2/1 Paul Anton Letnes wrote: > > On 10. juni 200

Re: [Matplotlib-users] plots do not scale to size

2011-02-01 Thread Paul Anton Letnes
On 10. juni 2009, at 14.53, John Hunter wrote: > On Wed, Jun 10, 2009 at 1:58 AM, Paul Anton > Letnes wrote: > >>> This _must_ be a bug. Consider the following: >>> ## >>> import matplotlib > > No it is not a bug -- mpl is doing what you tell it to do. Consider > figure() >>>

Re: [Matplotlib-users] plots do not scale to size

2009-06-10 Thread John Hunter
On Wed, Jun 10, 2009 at 9:40 AM, Paul Anton Letnes wrote: > Hm, I see. Thanks for an informative answer. I'll dig into my rcParams > and matplotlibrc then... That is worth doing, but you needn't change the defaults. You can also pass in the arguments explicitly: fig = plt.figure((3,3)) fig.subp

Re: [Matplotlib-users] plots do not scale to size

2009-06-10 Thread Paul Anton Letnes
On 10. juni. 2009, at 14.53, John Hunter wrote: > On Wed, Jun 10, 2009 at 1:58 AM, Paul Anton > Letnes wrote: > >>> This _must_ be a bug. Consider the following: >>> ## >>> import matplotlib > > No it is not a bug -- mpl is doing what you tell it to do. Consider > figure() s

Re: [Matplotlib-users] plots do not scale to size

2009-06-10 Thread John Hunter
On Wed, Jun 10, 2009 at 1:58 AM, Paul Anton Letnes wrote: >> This _must_ be a bug. Consider the following: >> ## >> import matplotlib No it is not a bug -- mpl is doing what you tell it to do. Consider >>> figure() >>> subplot(111) >>> plot([1,2,3]) >>> xlabel('hi mom', font

[Matplotlib-users] plots do not scale to size

2009-06-10 Thread Paul Anton Letnes
> On 9. juni. 2009, at 17.18, Jouni K. Seppänen wrote: > >> Chaitanya Krishna writes: >> >>> On Tue, Jun 9, 2009 at 12:05 PM, Paul Anton Letnes >>> >> > wrote: When I run the script below, the xlabel and ylabel do not show up. If I increase the figure size, it all works fin

Re: [Matplotlib-users] plots do not scale to size

2009-06-09 Thread John Hunter
On Tue, Jun 9, 2009 at 10:18 AM, Jouni K. Seppänen wrote: > Chaitanya Krishna writes: > >> On Tue, Jun 9, 2009 at 12:05 PM, Paul Anton Letnes >> wrote: >>> >>> When I run the script below, the xlabel and ylabel do not show up. If I >>> increase the figure size, it all works fine. >> >> I am not

Re: [Matplotlib-users] plots do not scale to size

2009-06-09 Thread Jouni K . Seppänen
Chaitanya Krishna writes: > On Tue, Jun 9, 2009 at 12:05 PM, Paul Anton Letnes > wrote: >> >> When I run the script below, the xlabel and ylabel do not show up. If I >> increase the figure size, it all works fine. > > I am not sure if it is a bug. But, it is usual that such a thing > happens wh

[Matplotlib-users] plots do not scale to size

2009-06-09 Thread Paul Anton Letnes
Dear all. When I run the script below, the xlabel and ylabel do not show up. If I increase the figure size, it all works fine. If I open the file in Adobe Illustrator, the x and ylabels are both there, but outside the canvas (or bounding box or whatever it is called). I believe this must

Re: [Matplotlib-users] plots do not scale to size

2009-06-09 Thread Chaitanya Krishna
Hi Paul, I am not sure if it is a bug. But, it is usual that such a thing happens when you are making small figures (like in your case). Try adjusting the following parameters in your rc file, in particular increase the left space. # The figure subplot parameters. All dimensions are fraction of

[Matplotlib-users] plots do not scale to size

2009-06-09 Thread Paul Anton Letnes
Dear all. When I run the script below, the xlabel and ylabel do not show up. If I increase the figure size, it all works fine. If I open the file in Adobe Illustrator, the x and ylabels are both there, but outside the canvas (or bounding box or whatever it is called). I believe this must