Fixes T141: changing from log10 to ppm scale, xlimits are not updated

This commit is contained in:
Markus Rosenstihl 2018-12-12 11:09:02 +01:00
parent 8cee6b86a0
commit 2c3435872c

View File

@ -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":