From 6cfe4183801dd855cb2fd1898889f5008ed02848 Mon Sep 17 00:00:00 2001 From: "Pey Lian Lim (Github)" <2090236+pllim@users.noreply.github.com> Date: Wed, 7 Sep 2022 10:15:00 -0400 Subject: [PATCH] Also auto update annulus calc on relinking --- .../imviz/plugins/aper_phot_simple/aper_phot_simple.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jdaviz/configs/imviz/plugins/aper_phot_simple/aper_phot_simple.py b/jdaviz/configs/imviz/plugins/aper_phot_simple/aper_phot_simple.py index 8fcfee56ad..4987446ce9 100644 --- a/jdaviz/configs/imviz/plugins/aper_phot_simple/aper_phot_simple.py +++ b/jdaviz/configs/imviz/plugins/aper_phot_simple/aper_phot_simple.py @@ -177,8 +177,8 @@ def _on_link_update(self, msg): if self.dataset_selected == '' or self.subset_selected == '': return - # Force background auto-calculation to update when linking has changed. - self._bg_subset_selected_changed() + # Force background auto-calculation (including annulus) to update when linking has changed. + self._subset_selected_changed() @observe('subset_selected') def _subset_selected_changed(self, event={}):