I have a problem when using mpl_connect with the key_press_event with a figure embbeded in a wxPython frame. When I use figure.canvas.mpl_connect(\'key_press_event\',func), my f