I do see strange behavior when using "Zoom to rectangle"
on my figures embedded in gtk through glade.
When clicking on the figure and start drawing the rectangle,
the bottom axis moves up as well as the graph which screw up
the whole figure during the rectangle definition. When releasing
the mouse button the figure looks ok.
I attach a small script together with glade file (slightly modified
from the matplotlib examples) that allows to reproduce the problem:
-> launch the script, press the "Zoom to rectangle button" and start
drawing the rectangle region on the graph, you will see the issue...
It as to be noticed that pure gtk version (without glade) does work
I'm on MacOsX 10.5.8 using gtk.gtk_version (2, 18, 6)
and gtk.pygtk_version (2, 16, 0) with python 2.6
Hope someone could help me solving this annoying issue.
mpl_with_glade_problem.py (3.06 KB)
mpl_with_glade.glade (9.79 KB)