From 33487fba8cad588903140062c6bf380d031f6806 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Wed, 27 Nov 2024 12:56:38 -0500 Subject: [PATCH] inline comment for future expansion --- jdaviz/core/template_mixin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jdaviz/core/template_mixin.py b/jdaviz/core/template_mixin.py index 9c1f59c3ca..1a6aa3457e 100644 --- a/jdaviz/core/template_mixin.py +++ b/jdaviz/core/template_mixin.py @@ -4059,6 +4059,9 @@ def add_results_from_plugin(self, data_item, replace=None, label=None): this_replace = isinstance(this_viewer, BqplotImageView) if self.app._jdaviz_helper._in_batch_load: + # NOTE: this currently only stores the viewer reference, and so + # will not handle preserving layer options if overwriting an existing + # entry. self.app._jdaviz_helper._delayed_show_in_viewer_labels[label] = viewer_ref else: self.app.add_data_to_viewer(viewer_ref,