diff --git a/jdaviz/core/template_mixin.py b/jdaviz/core/template_mixin.py index 165e34b3f3..ba32da8a0f 100644 --- a/jdaviz/core/template_mixin.py +++ b/jdaviz/core/template_mixin.py @@ -700,6 +700,10 @@ def add_observe(self, traitlet_name, handler, first=False): new_order = [handler] + [other for other in existing_callbacks if other != handler] self._plugin._trait_notifiers[traitlet_name]['change'] = new_order + def send_state(self, traitlet_name): + # redirect send_state through the plugin + self._plugin.send_state(self._plugin_traitlets.get(traitlet_name)) + @property def plugin(self): """