BqplotImageSubsetLayerArtist#

class glue_jupyter.bqplot.image.BqplotImageSubsetLayerArtist(view, viewer_state, layer_state=None, layer=None)#

Bases: BaseImageLayerArtist

Create a new LayerArtist

Parameters:
layerData or Subset

Data or Subset to draw

layerData or glue.core.subset.Subset

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