icecube.steamshovel.artists.mplart.AbstractMPLArtist module

class icecube.steamshovel.artists.mplart.AbstractMPLArtist.MPLArtist

Bases: PyArtist

A PyArtist representing a matplotlib figure, intended for any backend

addOverlayLine(position, color)

Request a line be drawn from out plot to the given shovelart.vec3d with the given color

This will only have an effect for in-scene graphics

autosize(fig, output)

Adjust the size of the figure and axes as best as possible

create(frame, output)

Primary PyArtist.create() method

abstract create_output(output) None
abstract create_plot(frame: I3Frame, fig: FigureBase) Any
abstract get_canvas_cleanup(figure: FigureBase) Callable[[], None]
abstract get_canvas_update(figure: FigureBase) Callable[[], None]
abstract get_figure_manager(fignum) FigureManagerBase
static unique_figure()

Get a program-unique integer ID to use for this artist’s MPL figure

update_plot(time: int) Any