Re: [Matplotlib-users] AttributeError: _pan_start

2010-12-20 Thread John Haiducek
No, I'm not adding or removing axes while interacting. (A single axes instance gets created when the figure is instantiated and remains the life of the figure.) Thans for the suggestion of replacing Axes.end_pan. Unfortunately I've left on a trip since my initial post so it will be a while before

Re: [Matplotlib-users] AttributeError: _pan_start

2010-12-20 Thread Michael Droettboom
This is a wild guess -- sounds like a race condition where the mouse up event is somehow getting fired before the mouse down event. In your more complex example, are you adding/removing axes while interacting with the plots? You could try "papering over" this problem by replacing Axes.end_pan

[Matplotlib-users] AttributeError: _pan_start

2010-12-18 Thread John Haiducek
I have an application with two matplotlib figures, both using the gtkAgg backend. One or the other is displayed on the screen depending on the GUI state. Initially after creating the two figures, I can interact with both of them just fine, but after switching between figures two or three times the