LayerSelect
- class jdaviz.core.template_mixin.LayerSelect(**kwargs: Any)[source] [edit on github]
Bases:
SelectPluginComponentPlugin select for layers, with support for single or multi-selection.
Useful API methods/attributes:
selectedselect_all()(only ifis_multiselect)select_none()(only ifis_multiselect)
- Parameters
- plugin
the parent plugin object
- itemsstr
the name of the items traitlet defined in
plugin- selectedstr
the name of the selected traitlet defined in
plugin- viewer: str
the name of the traitlet defined in
pluginstoring the viewer(s) to expose the layers- default_textstr or None
the text to show for no selection. If not provided or None, no entry will be provided in the dropdown for no selection.
- manual_options: list
list of options to provide that are not automatically populated by subsets. If
defaulttext is provided but not inmanual_optionsit will still be included as the first item in the list.
Attributes Summary
Attributes Documentation
- selected_obj