awips2/pythonPackages/matplotlib/lib/mpl_examples/event_handling
root 9f19e3f712 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00
..
data_browser.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
figure_axes_enter_leave.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
idle_and_timeout.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
keypress_demo.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
lasso_demo.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
looking_glass.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
path_editor.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
pick_event_demo.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
pick_event_demo2.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
pipong.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
poly_editor.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
pong_gtk.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
pong_qt.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
README.txt Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
viewlims.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
zoom_window.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00

matplotlib event handling
=========================

matplotlib supports event handling with a GUI neutral event model.  So
you can connect to matplotlib events w/o knowledge of what user
interface matplotlib will ultimately be plugged in to.  This has two
advantages: the code you write will be more portable, and matplotlib
events are aware of things like data coordinate space and whih axes
the event occurs in so you don't have to mess with low level
transformation details to go from canvas space to data space.  Object
picking examples are also included.

There is an event handling tutorial at
http://matplotlib.sourceforge.net/pycon/event_handling_tut.pdf.  The
ReST source for this document is included in the matplotlib source
distribution.