import rotate_NE_RT

Hi all,
I cannot import anymore the obspy function rotate_NE_RT

It works with matplotlib version 0.99.3-1
no more with version 1.1.1~rc1-1

Below is the error message I got.
Could anyone help me to fix it?

Thanks

Luigia

from obspy.signal.rotate import rotate_NE_RT

Hello Luigia,

yes it has been fixed in more recent ObsPy versions. You would need to update
to the repository version of ObsPy until we release a new version.

If that is not possible for whatever reason the simplest fix is just to update matplotlib
to their latest stable version 1.1.0 which will work fine with your ObsPy version.

If that is also not possible you can also use a little hack.
Before you import obspy just do the following:

import matplotlib
matplotlib.__version__ = "1.1.0"

Best wishes,

Lion

Gracias Lion.

GrĂ¼sse aus Mexiko Stadt!

2012/4/11 Lion Krischer <krischer@geophysik.uni-muenchen.de>

It works,
thanks

Luigia