Paul Ivanov wrote: > 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?
Traceback (most recent call last): File "t5.py", line 13, in <module> f.axes = [f.axes[1],f.axes[0]] AttributeError: can't set attribute I've tried it with matplotlib 1.0.1 and 1.1.0. Same error message. Python is 2.6.4. I'm stumped ... Ciao Andreas ------------------------------------------------------------------------------ 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