magmap.gui.image_viewer module¶ Image viewer support class magmap.gui.image_viewer.Blitter(fig, artists=None)[source]¶ Bases: object Controller for blitting in Matplotlib graphics. Improves interactive graphics performance by reducing repetitive drawing. add_artist(arist, i=None)[source]¶ Add tracked artist. Parameters: arist (Artist) – Artist to track. Only artists in fig will be added. i (Optional[int], default: None) – Index at which to add the artist. Defaults to None, which will append the artist. property artists: List[Artist]¶ Tracked artists for blitting. fig: Figure¶ Matplotlib figure. on_draw(evt)[source]¶ Recapture backgrouna and draw the figure canvas. update()[source]¶ Update the canvas.