From 2c3435872c2b6657bd6a14c65d42da30d72e6afa Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Wed, 12 Dec 2018 11:09:02 +0100 Subject: [PATCH] Fixes T141: changing from log10 to ppm scale, xlimits are not updated --- src/gui/DamarisGUI.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/DamarisGUI.py b/src/gui/DamarisGUI.py index 855d499..c689644 100644 --- a/src/gui/DamarisGUI.py +++ b/src/gui/DamarisGUI.py @@ -2888,8 +2888,9 @@ class MonitorWidgets: elif x_scale == "ppm": self.matplot_axes.set_xscale("linear") self.matplot_axes.set_xlabel("PPM") - #self.matplot_axes.set_xlim(xmax, xmin) - self.matplot_axes.invert_xaxis() + #self.display_autoscaling_checkbutton.set_active(True) #partial fix T141 + self.matplot_axes.set_xlim(xmax, xmin) + #self.matplot_axes.invert_xaxis() if y_scale == "lin": self.matplot_axes.set_yscale( "linear" ) elif y_scale == "log10":