Viewer¶
-
class
glue.viewers.common.viewer.Viewer(session, state=None)[source]¶ Bases:
glue.viewers.common.viewer.BaseViewerA viewer class that uses a state class to represent the overall viewer state, and uses layer artists and state classes to handle each dataset and subset in the data viewer.
Attributes Summary
Return a tuple of layers in this viewer.
Methods Summary
add_data(self, data)add_subset(self, subset)cleanup(self)export_as_script(self, filename)get_data_layer_artist(self[, layer, layer_state])get_layer_artist(self, cls[, layer, layer_state])get_subset_layer_artist(self[, layer, …])options_widget(self)register_to_hub(self, hub)remove_data(self, data)remove_layer(self, layer)remove_subset(self, subset)warn(self, message, \*args, \*\*kwargs)Attributes Documentation
-
allow_duplicate_data= False¶
-
allow_duplicate_subset= False¶
-
large_data_size= None¶
-
layers[source]¶ Return a tuple of layers in this viewer.
A layer is a visual representation of a dataset or subset within the viewer
Methods Documentation
-