diff --git a/glue/viewers/profile/state.py b/glue/viewers/profile/state.py index 283ae3513..572ff0f12 100644 --- a/glue/viewers/profile/state.py +++ b/glue/viewers/profile/state.py @@ -115,6 +115,7 @@ def _update_att(self, *args): else: self.x_att_pixel = self.x_att self._reset_x_limits() + self._update_x_display_unit_choices() def _reset_x_limits(self, *event): @@ -251,7 +252,6 @@ def _reference_data_changed(self, before=None, after=None): self._update_att() self.reset_limits() - self._update_x_display_unit_choices() def _update_priority(self, name): if name == 'layers':