You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MatplotlibDeprecationWarning: Use xyann instead #4440
Version is 1.4.2 and I get deprecation warning so I would like to use the recommended way.
I use a.xytext = (xpos, 0.8) on response to user clicking on certain parts, if the functionality gets deprecated how can we dynamically move annotations? I am not talking about adding new annotations here. Of course one can delete the previous one and recreate a new annotation but that is not exactly same functionality.
Activity
tacaswell commentedon May 18, 2015
xytextis an alias forxyann. Just switch to usinga.xyanninstead ofa.xytext.Also see http://matplotlib.org/api/api_changes.html#changes-in-1-4-x
This was done in #2351
The aliases were removed from the master branch in 310cab1, but maybe that should be reverted for another release cycle or so.
tacaswell commentedon May 18, 2015
Sorry, wrong button
dashesy commentedon May 18, 2015
thanks, yes simply using
xyannis working fine