Fixes T141: changing from log10 to ppm scale, xlimits are not updated
This commit is contained in:
parent
8cee6b86a0
commit
2c3435872c
@ -2888,8 +2888,9 @@ class MonitorWidgets:
|
|||||||
elif x_scale == "ppm":
|
elif x_scale == "ppm":
|
||||||
self.matplot_axes.set_xscale("linear")
|
self.matplot_axes.set_xscale("linear")
|
||||||
self.matplot_axes.set_xlabel("PPM")
|
self.matplot_axes.set_xlabel("PPM")
|
||||||
#self.matplot_axes.set_xlim(xmax, xmin)
|
#self.display_autoscaling_checkbutton.set_active(True) #partial fix T141
|
||||||
self.matplot_axes.invert_xaxis()
|
self.matplot_axes.set_xlim(xmax, xmin)
|
||||||
|
#self.matplot_axes.invert_xaxis()
|
||||||
if y_scale == "lin":
|
if y_scale == "lin":
|
||||||
self.matplot_axes.set_yscale( "linear" )
|
self.matplot_axes.set_yscale( "linear" )
|
||||||
elif y_scale == "log10":
|
elif y_scale == "log10":
|
||||||
|
Loading…
Reference in New Issue
Block a user