Re: [Matplotlib-users] aspect_ratio in combination with sharex

2008-02-11 Thread Mark Bakker
On Feb 11, 2008 2:35 PM, Michael Droettboom [EMAIL PROTECTED] wrote: Before I look into this further: what version of mpl are you using? I am using 0.91.2 using the win32 installer for Python 2.4. Thanks for looking into this, Mark

[Matplotlib-users] aspect_ratio in combination with sharex

2008-02-11 Thread Mark Bakker
Hello - I have a hard time getting aspect_ratio to work correctly with sharex. This used to work quite a while ago, and has been broken for a long time (or at least I don't know how to get it to work) But I finally found the time to put a simple example together to determine if I do something

Re: [Matplotlib-users] aspect_ratio in combination with sharex

2008-02-11 Thread Mark Bakker
I seem to have tracked down the problem. After calling the aspect_ratio function, the data limits don't get set. When a new axis with sharex is called, it gets the old data limits. After I call draw() or ax.draw() the datalimit gets set correctly. And creating a subplot with sharex works fine.

Re: [Matplotlib-users] aspect_ratio in combination with sharex

2008-02-11 Thread Michael Droettboom
Before I look into this further: what version of mpl are you using? Mark Bakker wrote: I seem to have tracked down the problem. After calling the aspect_ratio function, the data limits don't get set. When a new axis with sharex is called, it gets the old data limits. After I call draw() or