BasePluginComponent

class jdaviz.core.template_mixin.BasePluginComponent(plugin, **kwargs)[source] [edit on github]

Bases: HubListener

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

spectrum_2d_viewer

spectrum_viewer

viewer_dicts

Methods Summary

add_observe(traitlet_name, handler[, first])

Attributes Documentation

app

Access the parent app object

hub

Access the hub attached to the parent plugin object

plugin

Access the parent plugin object

spectrum_2d_viewer
spectrum_viewer
viewer_dicts

Methods Documentation

add_observe(traitlet_name, handler, first=False)[source] [edit on github]