On Sat, Sep 24, 2011 at 3:59 AM, Andreas Matthias
<andreas.matth...@gmail.com> wrote:
> Hmm. I do not get a reversed list of axes. This is the output of
> the example code below:
>
> [<matplotlib.axes.AxesSubplot object at 0x8d8fb4c>, <matplotlib.axes.Axes 
> object at 0x8f633ec>]
> [<matplotlib.axes.AxesSubplot object at 0x8d8fb4c>, <matplotlib.axes.Axes 
> object at 0x8f633ec>]

This doesn't seem right - for me that code results in:
[<matplotlib.axes.AxesSubplot object at 0x16d7de70>,
<matplotlib.axes.Axes object at 0x1b77c890>]
[<matplotlib.axes.Axes object at 0x1b77c890>,
<matplotlib.axes.AxesSubplot object at 0x16d7de70>]

can you try explicitly swapping your axes? f.axes =
[f.axes[1],f.axes[0]] instead of the call to reverse?

> BTW, what's matplotlib.axes.AxesSubplot? I couldn't find this class.

see  SubplotBase class and subplot_class_factory function in matplotlib/axes.py

best,
--
Paul Ivanov
314 address only used for lists,  off-list direct email at:
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to