[Matplotlib-users] Migrating some code which use NavigationToolbar2QT to matplotlib 2.x AND 3.x

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Sat Feb 16 03:44:11 EST 2019


> Fedric,

> Hello from NSLS-II!

:))

> `_veiws` is private so we reserve the right to change it at any time.   `.views()` was a Stack of lists of the xlim and ylim of all of the Axes in the Figure.  I suggest replacing it > with something like


thanks a lot. I did not know that matplotlib guyes where working at NSLS-II.

> ...


> which only uses public APIs from upstream.

I prefer also.

> What is the purpose of this code?  It looks like this is a de-bouncer to cancel a callback if something changes the limits while the mouse is held down?

I do not know for now, but I will tell you if I discover it :).
This is some code from binoculars that I need to migrates. to matplotlib 3.X.

Cheers


Fred


More information about the Matplotlib-users mailing list