widget locking

When I run the following: figure(); plot([1,2]) figure();

    > plot([1,2])

    > and then I use the zoom widget in one figure, and then try
    > to use the zoom widget in the other figure without turning
    > off the first zoom widget, I get an error. Is this
    > desirable?

Hi Darren -- I just modified the code to use per canvas widget
locking. Now every FigureCanvas has a widgetlock attr.
Unfortunately, I cannot adequately test right now because I am working
over X11 and the interactive widget stuff like examples/lasso_demo.py
is too slow. Could you try that demo, as well as multiple figures
with pan/zoom and make sure you don't see any strangness?

Thanks,
JDH

Looks good to me, no problems to report.

···

On Tuesday 15 August 2006 12:32, John Hunter wrote:

    > When I run the following: figure(); plot([1,2]) figure();
    > plot([1,2])

    > and then I use the zoom widget in one figure, and then try
    > to use the zoom widget in the other figure without turning
    > off the first zoom widget, I get an error. Is this
    > desirable?

Hi Darren -- I just modified the code to use per canvas widget
locking. Now every FigureCanvas has a widgetlock attr.
Unfortunately, I cannot adequately test right now because I am working
over X11 and the interactive widget stuff like examples/lasso_demo.py
is too slow. Could you try that demo, as well as multiple figures
with pan/zoom and make sure you don't see any strangness?