Hi All,

    I have upgraded matplotlib from an old version I was using
(0.91.2) to the very latest one (0.98.1). In one of my applications, I
am using this code:

from matplotlib.transforms import offset_copy

def offset(ax, x, y):
    return offset_copy(ax.transData, x=x, y=y, units='dots')

Right now I get:

Traceback (most recent call last):
  File "E:\MyProjects\SimKill\SimKill.py", line 9, in <module>
    from PlotPage import PlotPage
  File "E:\MyProjects\SimKill\PlotPage.py", line 11, in <module>
    from matplotlib.transforms import offset_copy
ImportError: cannot import name offset_copy

Is offset_copy gone? How can I modify my code to get back the original
behaviour?

Thank you for your suggestions.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to