BasePluginComponent#

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

Bases: HubListener, ViewerPropertiesMixin

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

app

Access the parent app object

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)

Attributes Documentation

app#

Access the parent app object

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]#