This commit is contained in:
gac-x03da
2019-05-28 15:04:58 +02:00
parent 248547e3a3
commit c6d7860a1a

View File

@@ -141,7 +141,7 @@ def plot_cur_spectrum():
eb2, eb1 = get_binding_range()
if True: #(plots[0].getAxis(p.AxisId.X2).min != eb2) or (plots[0].getAxis(p.AxisId.X2).max != eb1):
plots[0].resetZoom()
plots[0].getAxis(p.AxisId.X2).setRange(eb2, eb1)
time.sleep(1.0)