PlotOptionsSyncState

class jdaviz.core.template_mixin.PlotOptionsSyncState(plugin, viewer_select, layer_select, glue_name, value, sync, spinner=None, state_filter=None)[source] [edit on github]

Bases: BasePluginComponent

Plugin component for syncing with glue state objects.

Useful API methods/attributes:

  • value: the currently set value sent to the underlying linked_states objects in glue

  • text: the user-friendly equivalent of the currently set value (only when has choices)

  • choices() (only when applicable)

  • linked_states

  • unmix_state()

Attributes Summary

choices

linked_states

subscribed_icons

subscribed_states

subscribed_viewers

text

The user-friendly text equivalent of the currently set value

user_api

Methods Summary

glue_name(state)

state_filter(state)

unmix_state()

Attributes Documentation

choices
linked_states
subscribed_icons
subscribed_states
subscribed_viewers
text

The user-friendly text equivalent of the currently set value

user_api

Methods Documentation

glue_name(state)[source] [edit on github]
state_filter(state)[source] [edit on github]
unmix_state()[source] [edit on github]