GenericMplClient¶
-
class
glue.viewers.common.viz_client.GenericMplClient(data=None, figure=None, axes=None, layer_artist_container=None, axes_factory=None)[source]¶ Bases:
glue.core.client.ClientThis client base class handles the logic of adding, removing, and updating layers.
Subsets are auto-added and removed with datasets. New subsets are auto-added iff the data has already been added
Attributes Summary
collectMethods Summary
add_layer(layer)Add a new Data or Subset layer to the plot. apply_roi(roi)create_axes(figure)new_layer_artist(layer)remove_layer(layer)restore_layers(layers, context)Re-generate plot layers from a glue-serialized list set_visible(layer, state)Toggle a layer’s visibility Attributes Documentation
-
collect¶
Methods Documentation
-