Blacking
This commit is contained in:
@@ -50,7 +50,7 @@ class PlotUpdate(AutoUpdates):
|
||||
|
||||
# plot() will throw RPCResponseTimeoutError
|
||||
try:
|
||||
if len(info.scan_report_devices)==2:
|
||||
if len(info.scan_report_devices) == 2:
|
||||
# 2D plot
|
||||
dev_x = info.scan_report_devices[0]
|
||||
dev_y = info.scan_report_devices[1]
|
||||
@@ -61,9 +61,9 @@ class PlotUpdate(AutoUpdates):
|
||||
title=f"Scan {info.scan_number}",
|
||||
x_label=dev_x,
|
||||
y_label=dev_y,
|
||||
z_label=det
|
||||
z_label=det,
|
||||
)
|
||||
elif len(info.scan_report_devices)==1:
|
||||
elif len(info.scan_report_devices) == 1:
|
||||
# 1D plot
|
||||
dev_x = info.scan_report_devices[0]
|
||||
plt1.plot(
|
||||
@@ -97,5 +97,4 @@ class PlotUpdate(AutoUpdates):
|
||||
# self.run_grid_scan_update(info)
|
||||
# return
|
||||
super().handler(info)
|
||||
self.plot_handler(info)
|
||||
|
||||
self.plot_handler(info)
|
||||
@@ -1,3 +1,4 @@
|
||||
# pylint: disable=undefined-variable
|
||||
# import bec
|
||||
# import bec_lib.devicemanager.DeviceContainer as dev
|
||||
|
||||
|
||||
Reference in New Issue
Block a user