MatplotlibLayerArtist#
- class glue.viewers.matplotlib.layer_artist.MatplotlibLayerArtist(axes, viewer_state, layer_state=None, layer=None)#
Bases:
LayerArtistCreate a new LayerArtist
Attributes Summary
A callback property where drawing is deferred until after notify has called all callback functions.
A callback property where drawing is deferred until after notify has called all callback functions.
Methods Summary
clear()Clear the visualization for this layer
Broadcast a message to indicate that this layer artist has ended a computation (typically used in conjunction with asynchronous operations).
Broadcast a message to indicate that this layer artist has started a computation (typically used in conjunction with asynchronous operations).
redraw()Re-render the plot
remove()Remove the visualization for this layer.
Attributes Documentation
- visible#
A callback property where drawing is deferred until after notify has called all callback functions.
- zorder#
A callback property where drawing is deferred until after notify has called all callback functions.
Methods Documentation
- clear()#
Clear the visualization for this layer
- get_handle_legend()#
- get_layer_color()#
- notify_end_computation()#
Broadcast a message to indicate that this layer artist has ended a computation (typically used in conjunction with asynchronous operations).
- notify_start_computation()#
Broadcast a message to indicate that this layer artist has started a computation (typically used in conjunction with asynchronous operations).
- redraw()#
Re-render the plot
- remove()#
Remove the visualization for this layer.
This is called when the layer artist is removed for good from the viewer. It defaults to calling clear, but can be overriden in cases where clear and remove should be different.