Benjamin Root wrote:

> On Sunday, September 25, 2011, Andreas Matthias <andreas.matth...@gmail.com>
> wrote:
>> 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 ...
> 
> 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?

1.1.0
/home/andreas/local/python/lib/python2.6/site-packages/matplotlib/__init__.pyc

This is the right place. Then I removed matplotlib/ and
installed it again. But the error stays the same.

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

Reply via email to