Skip to content

Commit

Permalink
inline comment for future expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Nov 27, 2024
1 parent e62671b commit 33487fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jdaviz/core/template_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 33487fb

Please sign in to comment.