diff --git a/glue/config_gen.py b/glue/config_gen.py old mode 100755 new mode 100644 diff --git a/glue/core/state_objects.py b/glue/core/state_objects.py index d52bf6e41..6262964ed 100644 --- a/glue/core/state_objects.py +++ b/glue/core/state_objects.py @@ -332,11 +332,9 @@ def update_values(self, force=False, use_default_modifiers=False, **properties): self._previous_units = display_units - if ( - set(properties) == {'display_units'} and + if (set(properties) == {'display_units'} and self.lower is not None and - self.upper is not None - ): + self.upper is not None): converter = UnitConverter() diff --git a/glue/main.py b/glue/main.py old mode 100755 new mode 100644 diff --git a/glue/viewers/matplotlib/tests/test_state.py b/glue/viewers/matplotlib/tests/test_state.py old mode 100755 new mode 100644