BaseViewer

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

Bases: HubListener

The base class for all viewers.

Attributes Summary

LABEL

session

Methods Summary

add_data(data)

add_layer(layer)

add_subset(subset)

apply_subset_state(subset_state[, override_mode])

register_to_hub(hub)

remove_layer(layer)

request_add_layer(layer)

Issue a command to add a layer

Attributes Documentation

LABEL = 'Override this'
session[source]

Methods Documentation

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

Issue a command to add a layer