BqplotImageSubsetLayerArtist#
- class glue_jupyter.bqplot.image.BqplotImageSubsetLayerArtist(view, viewer_state, layer_state=None, layer=None)#
Bases:
BaseImageLayerArtist
Create a new LayerArtist
- Parameters:
- layer
Data
orSubset
Data or Subset to draw
- layer
Data
orglue.core.subset.Subset
- layer
Methods Summary
enable
([redraw])redraw
()Re-render the plot
remove
()Remove the visualization for this layer.
update
(*event)Sync the visual appearance of the layer, and redraw
Methods Documentation
- enable(redraw=True)#
- 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.
- update(*event)#
Sync the visual appearance of the layer, and redraw