Extension to MPL to support the binding of artists to key/mouse events.
-
class sans.guiframe.local_perspectives.plotting.binder.BindArtist(figure)
-
clear(*artists)
- self.clear(h1,h2,...)
- Remove connections for artists h1, h2, ...
Use clearall() to reset all connections.
-
clearall()
Clear connections to all artists.
Use clear(h1,h2,...) to reset specific artists.
-
disconnect()
- In case we need to disconnect from the canvas...
-
trigger(actor, action, ev)
- Trigger a particular event for the artist. Fallback to axes,
to figure, and to ‘all’ if the event is not processed.
-
class sans.guiframe.local_perspectives.plotting.binder.Selection(artist=None, prop={})
- Store and compare selections.