Fernando Perez wrote:
> On 6/15/06, Stefan van der Walt <[EMAIL PROTECTED]> wrote:
> 
> 
>>That's exactly what I need -- except that it forces the creation of a
>>new figure, which doesn't play well with subplot.  Specifying a figure
>>number is, like it says in the docstring, rather unpredictable.  Is
>>there an easy way to work around that limitation?
> 
> 
> Well, the reason behind creating a new figure was to have tight
> control of the aspect ratio: if you draw into an existing figure, you
> have no idea what its aspect ratio will be.  There might have been a
> cleaner solution, but I just punted and went for the obvious: make a
> new figure you /know/ will have the right aspect ratio always.  Feel
> free to submit an improved version :)

One can control the aspect ratio with Axes.set_aspect(), so making a new 
figure is not really necessary now.

Eric


_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to