PlotOptionsSyncState#

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

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)

is_mixed(glue_values)

state_filter(state)

unmix_state([new_value])

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]#
is_mixed(glue_values)[source]#
state_filter(state)[source]#
unmix_state(new_value=None)[source]#