Skip to content

Commit

Permalink
Fix autoscale bug by update colorbar limits
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Hampson <[email protected]>
Co-authored-by: Gemma Guest <[email protected]>

Refs #
  • Loading branch information
robertapplin committed Jul 21, 2022
1 parent be43815 commit 03c54c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qt/python/mantidqt/mantidqt/widgets/colorbar/colorbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ def norm_changed(self):
self.colorbar.mappable.set_norm(self.get_norm())
self.set_mappable(self.colorbar.mappable)
self.update_clim_validator()
self.update_clim()
self.scaleNormChanged.emit()

def get_norm(self):
Expand Down

0 comments on commit 03c54c9

Please sign in to comment.