I'm using matplotlib version 1.4.2 on linux and am having trouble getting key event callbacks when using the nbagg backend in an ipython notebook (i've tried in firefox and chromium). The key press events seem to not be processed (no matter what key I try to press). This code does work with the qt backend.
%matplotlib nbagg import matplotlib.pyplot as plt f=plt.figure() plt.plot([1,2,3,4]) def handler(event): plt.plot([4,3,2,1]) f.canvas.mpl_connect('key_press_event',handler); Thanks for any help. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Key-events-using-nbagg-backend-tp44551.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users