Dear all, I have a problem with using certain class methods as event handlers. In the following example:
the method Test.on_press() is never executed. Only "clicked0" and "clicked1" is printed when I click on the canvas. When i use pure matplotlib widgets instead of tkinter embedding, the code works as expected. Is this a matplotlib bug or am I doing something wrong? My software versions are: Python 3.4.0 matplotlib.__version__ == '1.3.1' tkinter.TkVersion == 8.6 in Ubuntu 14.04 Thanks in advance for any help, Stepan -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Problem-with-event-handling-in-matplotlib-in-tkinter-tp44302.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users