Menu

Tree [r7969] / branches / mathtex / examples / event_handling /
 History

HTTPS access


File Date Author Commit
 README.txt 2008-05-16 jdh2358 [r5159] more example readmes
 data_browser.py 2008-05-18 jdh2358 [r5187] moved a few more examples to their proper home
 figure_axes_enter_leave.py 2008-11-26 jdh2358 [r6454] added figure/axes enter/leave events
 idle_and_timeout.py 2008-06-24 jdh2358 [r5665] removed draft timeout/idle from backend bases; ...
 keypress_demo.py 2008-05-18 jdh2358 [r5187] moved a few more examples to their proper home
 lasso_demo.py 2008-07-25 jdh2358 [r5873] committed tonys minor changes
 looking_glass.py 2009-09-09 mdboom [r7724] Merged revisions 7483,7485,7487-7488,7491-7497,...
 path_editor.py 2008-12-14 jdh2358 [r6602] added release dir
 pick_event_demo.py 2008-05-16 jdh2358 [r5151] reorganized examples
 pick_event_demo2.py 2008-05-18 jdh2358 [r5187] moved a few more examples to their proper home
 pipong.py 2009-09-09 mdboom [r7724] Merged revisions 7483,7485,7487-7488,7491-7497,...
 poly_editor.py 2008-05-18 jdh2358 [r5187] moved a few more examples to their proper home
 pong_gtk.py 2009-09-09 mdboom [r7724] Merged revisions 7483,7485,7487-7488,7491-7497,...
 pong_qt.py 2009-09-09 mdboom [r7724] Merged revisions 7483,7485,7487-7488,7491-7497,...
 resample.py 2009-09-09 mdboom [r7724] Merged revisions 7483,7485,7487-7488,7491-7497,...
 viewlims.py 2009-09-09 mdboom [r7724] Merged revisions 7483,7485,7487-7488,7491-7497,...
 zoom_window.py 2008-05-16 jdh2358 [r5151] reorganized examples

Read Me

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.


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.