BaseViewer

class glue.viewers.common.viewer.BaseViewer(session)[source]

Bases: glue.core.hub.HubListener

The base class for all viewers.

Attributes Summary

LABEL

session

Methods Summary

add_data(self, data)

add_layer(self, layer)

add_subset(self, subset)

apply_subset_state(self, subset_state[, …])

register_to_hub(self, hub)

remove_layer(self, layer)

request_add_layer(self, layer)

Issue a command to add a layer

Attributes Documentation

LABEL = 'Override this'
session[source]

Methods Documentation

add_data(self, data)[source]
add_layer(self, layer)[source]
add_subset(self, subset)[source]
apply_subset_state(self, subset_state, override_mode=None)[source]
register_to_hub(self, hub)[source]
remove_layer(self, layer)[source]
request_add_layer(self, layer)[source]

Issue a command to add a layer