BasePluginComponent#

class jdaviz.core.template_mixin.BasePluginComponent(plugin, **kwargs)[source]#

Bases: HubListener, ViewerPropertiesMixin, WithCache

This base class handles attaching traitlets from the plugin itself to logic handled within the component, support for caching and clearing caches on properties, and common properties for accessing the app, etc.

Attributes Summary

hub

Access the hub attached to the parent plugin object

plugin

Access the parent plugin object

viewer_dicts

Methods Summary

add_observe(traitlet_name, handler[, first])

add_traitlets(**traitlets)

map_value(attr, value)

send_state(traitlet_name)

Attributes Documentation

hub#

Access the hub attached to the parent plugin object

plugin#

Access the parent plugin object

viewer_dicts#

Methods Documentation

add_observe(traitlet_name, handler, first=False)[source]#
add_traitlets(**traitlets)[source]#
map_value(attr, value)[source]#
send_state(traitlet_name)[source]#