pickax.blit_manager
Module Contents
Classes
API
- class pickax.blit_manager.BlitManager(canvas, animated_artists=())
Initialization
- canvasFigureCanvasAgg
The canvas to work with, this only works for sub-classes of the Agg canvas which have the ~FigureCanvasAgg.copy_from_bbox and ~FigureCanvasAgg.restore_region methods.
- animated_artistsIterable[Artist]
List of the artists to manage
- clear()
- on_draw(event)
Callback to register with ‘draw_event’.
- add_trace_artist(art)
- add_flag_artist(art)
- add_artist(art)
Add an artist to be managed.
art : Artist
The artist to be added. Will be set to ‘animated’ (just to be safe). art must be in the figure associated with the canvas this class is managing.
- set_zoom_bound(art)
- unset_zoom_bound()
- _draw_animated()
Draw all of the animated artists.
- update()
Update the screen with animated artists.