Paul Ivanov 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
···
On Sat, Sep 24, 2011 at 3:59 AM, Andreas Matthias > <andreas.matthias@...287...> wrote:
Sometimes installations can get mixed up. What does:
Import matplotlib
print matplotlib.version
print matplotlib.file
outputs for your v1.1.0 installation and your v1.0.1 install?
Ben Root
···
On Sunday, September 25, 2011, Andreas Matthias <andreas.matthias@…287…> wrote:
Paul Ivanov wrote:
On Sat, Sep 24, 2011 at 3:59 AM, Andreas Matthias >> <andreas.matthias@…287…> 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
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