bec-widgets 0.119.0__py3-none-any.whl → 1.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- CHANGELOG.md +44 -41
- PKG-INFO +1 -1
- bec_widgets/cli/client.py +22 -0
- bec_widgets/utils/crosshair.py +11 -2
- bec_widgets/widgets/figure/plots/waveform/waveform.py +29 -4
- bec_widgets/widgets/figure/plots/waveform/waveform_curve.py +3 -2
- bec_widgets/widgets/waveform/waveform_widget.py +10 -0
- {bec_widgets-0.119.0.dist-info → bec_widgets-1.0.1.dist-info}/METADATA +1 -1
- {bec_widgets-0.119.0.dist-info → bec_widgets-1.0.1.dist-info}/RECORD +13 -13
- pyproject.toml +1 -1
- {bec_widgets-0.119.0.dist-info → bec_widgets-1.0.1.dist-info}/WHEEL +0 -0
- {bec_widgets-0.119.0.dist-info → bec_widgets-1.0.1.dist-info}/entry_points.txt +0 -0
- {bec_widgets-0.119.0.dist-info → bec_widgets-1.0.1.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,24 +1,27 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
3
|
|
4
|
-
##
|
4
|
+
## v1.0.1 (2024-10-22)
|
5
5
|
|
6
|
-
###
|
6
|
+
### Bug Fixes
|
7
7
|
|
8
|
-
*
|
8
|
+
* fix(waveform): added support for live_data and data access ([`7469c89`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/7469c892c8076fc09e61f173df6920c551241cec))
|
9
9
|
|
10
|
-
* feat: add 'expand_popup' property to CompactPopupWidget
|
11
10
|
|
12
|
-
|
13
|
-
if the widget should expand in-place ([`e4121a0`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/e4121a01cb6b8d496e630cd43bc642b994b8f310))
|
11
|
+
## v1.0.0 (2024-10-18)
|
14
12
|
|
15
|
-
|
13
|
+
### Breaking
|
16
14
|
|
17
|
-
* feat
|
15
|
+
* feat!: ability to disable scatter from waveform & compatible crosshair with down sampling ([`2ab12ed`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/2ab12ed60abb995abc381d9330fdcf399796d9e5))
|
18
16
|
|
19
|
-
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
* fix(crosshair): downsample clear markers ([`f9a889f`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/f9a889fc6d380b9e587edcb465203122ea0bffc1))
|
20
|
+
|
21
|
+
|
22
|
+
## v0.119.0 (2024-10-17)
|
20
23
|
|
21
|
-
### Fixes
|
24
|
+
### Bug Fixes
|
22
25
|
|
23
26
|
* fix: fix syntax due to change of api for simulated devices ([`19f4e40`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/19f4e407e00ee242973ca4c3f90e4e41a4d3e315))
|
24
27
|
|
@@ -30,6 +33,21 @@ if the widget should expand in-place ([`e4121a0`](https://gitlab.psi.ch/bec/bec_
|
|
30
33
|
|
31
34
|
* fix: set (Minimum, Fixed) size policy on Stop button ([`523cc43`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/523cc435725b10b7d59a4477a1aaa24a1f3e37a2))
|
32
35
|
|
36
|
+
### Features
|
37
|
+
|
38
|
+
* feat: new PositionerGroup widget ([`af9655d`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/af9655de0c541092437accfbaa779628a2f48ccb))
|
39
|
+
|
40
|
+
* feat: add 'expand_popup' property to CompactPopupWidget
|
41
|
+
|
42
|
+
This property tells if expand should show a popup (by default), or
|
43
|
+
if the widget should expand in-place ([`e4121a0`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/e4121a01cb6b8d496e630cd43bc642b994b8f310))
|
44
|
+
|
45
|
+
* feat: PositionerBox with a popup view ([`2615787`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/261578796f1de8ca9cab9b91659bc1484f7aa89d))
|
46
|
+
|
47
|
+
* feat: emit 'device_selected' and 'scan_axis' from scan control widget ([`0b9b1a3`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/0b9b1a3c89a98505079f7d4078915b7bbfaa1e23))
|
48
|
+
|
49
|
+
* feat: new 'device_selected' signals to ScanControl, ScanGroupBox, DeviceLineEdit ([`9801d27`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/9801d2769eb0ee95c94ec0c011e1dac1407142ae))
|
50
|
+
|
33
51
|
### Refactoring
|
34
52
|
|
35
53
|
* refactor: redesign of scan selection and scan control boxes ([`a69d287`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/a69d2870e2b3539739781d741b27b8599c0f4abd))
|
@@ -50,7 +68,7 @@ if the widget should expand in-place ([`e4121a0`](https://gitlab.psi.ch/bec/bec_
|
|
50
68
|
|
51
69
|
## v0.117.1 (2024-10-11)
|
52
70
|
|
53
|
-
### Fixes
|
71
|
+
### Bug Fixes
|
54
72
|
|
55
73
|
* fix(FPS): qtimer cleanup leaking ([`3a22392`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/3a2239278075de7489ad10a58c31d7d89715e221))
|
56
74
|
|
@@ -94,18 +112,26 @@ complete UI ([`49268e3`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/49268e38
|
|
94
112
|
|
95
113
|
## v0.115.0 (2024-10-08)
|
96
114
|
|
115
|
+
### Bug Fixes
|
116
|
+
|
117
|
+
* fix: make Alignment1D a MainWindow as it is an application ([`c5e9ed6`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/c5e9ed6e422acb908e1ada32822f5d7cc256ade7))
|
118
|
+
|
119
|
+
* fix: adjust bec_qthemes dependency ([`b207e45`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/b207e45a67818ee061272ce00a09fe7ea31cd1ba))
|
120
|
+
|
97
121
|
### Features
|
98
122
|
|
99
123
|
* feat: add bec-app script to launch applications ([`8bf4842`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/8bf48427884338672a8e3de3deb20439b0bfdf99))
|
100
124
|
|
101
|
-
### Fixes
|
102
125
|
|
103
|
-
|
126
|
+
## v0.114.0 (2024-10-02)
|
104
127
|
|
105
|
-
|
128
|
+
### Bug Fixes
|
106
129
|
|
130
|
+
* fix: prevent exception when empty string updates are coming from widget ([`04cfb1e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/04cfb1edf19437d54f07b868bcf3cfc2a35fd3bc))
|
107
131
|
|
108
|
-
|
132
|
+
* fix: use new 'scan_axis' signal, to set_x and select x axis on waveform
|
133
|
+
|
134
|
+
Fixes #361, do not try to change x axis when not permitted ([`efa2763`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/efa276358b0f5a45cce9fa84fa5f9aafaf4284f7))
|
109
135
|
|
110
136
|
### Features
|
111
137
|
|
@@ -115,16 +141,12 @@ Signal is emitted before "scan_started", to inform about scan positioner
|
|
115
141
|
and (start, stop) positions. In case of multiple bundles, the signal
|
116
142
|
is emitted multiple times. ([`f084e25`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/f084e2514bc9459cccaa951b79044bc25884e738))
|
117
143
|
|
118
|
-
### Fixes
|
119
|
-
|
120
|
-
* fix: prevent exception when empty string updates are coming from widget ([`04cfb1e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/04cfb1edf19437d54f07b868bcf3cfc2a35fd3bc))
|
121
144
|
|
122
|
-
|
123
|
-
|
124
|
-
Fixes #361, do not try to change x axis when not permitted ([`efa2763`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/efa276358b0f5a45cce9fa84fa5f9aafaf4284f7))
|
145
|
+
## v0.113.0 (2024-10-02)
|
125
146
|
|
147
|
+
### Bug Fixes
|
126
148
|
|
127
|
-
|
149
|
+
* fix: add is_log checks and functionality to plot_indicator_items ([`0f9953e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/0f9953e8fdcf3f9b5a09f994c69edb6b34756df9))
|
128
150
|
|
129
151
|
### Features
|
130
152
|
|
@@ -132,10 +154,6 @@ Fixes #361, do not try to change x axis when not permitted ([`efa2763`](https://
|
|
132
154
|
|
133
155
|
* feat: add move to position button to lmfit dialog ([`281cb27`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/281cb27d8b5433e27a7ba0ca0a19e4b45b9c544f))
|
134
156
|
|
135
|
-
### Fixes
|
136
|
-
|
137
|
-
* fix: add is_log checks and functionality to plot_indicator_items ([`0f9953e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/0f9953e8fdcf3f9b5a09f994c69edb6b34756df9))
|
138
|
-
|
139
157
|
### Refactoring
|
140
158
|
|
141
159
|
* refactor: various minor improvements for the alignment gui ([`f554f3c`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/f554f3c1672c4fe32968a5991dc98802556a6f3b))
|
@@ -146,10 +164,6 @@ Fixes #361, do not try to change x axis when not permitted ([`efa2763`](https://
|
|
146
164
|
|
147
165
|
* refactor: update dap_model also if x and y axis are selected ([`28ee385`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/28ee3856be2c47a63182b16454ece37a0ec04811))
|
148
166
|
|
149
|
-
* refactor: linear_region_selector accepts log_x data ([`7cc0726`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/7cc07263982a171744ff87adb10ea77585764b71))
|
150
|
-
|
151
|
-
* refactor: use accent colors for bec_status_box icons; closes #338 ([`e039304`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/e039304fd3ee03dc4a3fa22a69c207139e0c0d28))
|
152
|
-
|
153
167
|
### Testing
|
154
168
|
|
155
169
|
* test: add tests for scan_status_callback ([`dc0c825`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/dc0c825fd594c093a24543ff803d6c6564010e92))
|
@@ -157,14 +171,3 @@ Fixes #361, do not try to change x axis when not permitted ([`efa2763`](https://
|
|
157
171
|
### Unknown
|
158
172
|
|
159
173
|
* feat : Add bec_signal_proxy to handle signals with option to unblock them manually. ([`1dcfeb6`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/1dcfeb6cfce3c69f0c5401731d4d3f9a1981b22e))
|
160
|
-
|
161
|
-
|
162
|
-
## v0.112.1 (2024-09-19)
|
163
|
-
|
164
|
-
### Documentation
|
165
|
-
|
166
|
-
* docs(dap_combo_box): updated screenshot ([`e3b5e33`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/e3b5e338bfaec276979183fb6d79ab41a7ca21e1))
|
167
|
-
|
168
|
-
### Fixes
|
169
|
-
|
170
|
-
* fix: test e2e dap wait_for_fit ([`b2f7d3c`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/b2f7d3c5f3f4bf00cc628f788e2c278ebb5688ae))
|
PKG-INFO
CHANGED
bec_widgets/cli/client.py
CHANGED
@@ -552,6 +552,7 @@ class BECFigure(RPCBase):
|
|
552
552
|
def image(
|
553
553
|
self,
|
554
554
|
monitor: "str" = None,
|
555
|
+
monitor_type: "Literal['1d', '2d']" = "2d",
|
555
556
|
color_bar: "Literal['simple', 'full']" = "full",
|
556
557
|
color_map: "str" = "magma",
|
557
558
|
data: "np.ndarray" = None,
|
@@ -856,6 +857,7 @@ class BECImageShow(RPCBase):
|
|
856
857
|
def image(
|
857
858
|
self,
|
858
859
|
monitor: "str",
|
860
|
+
monitor_type: "Literal['1d', '2d']" = "2d",
|
859
861
|
color_map: "Optional[str]" = "magma",
|
860
862
|
color_bar: "Optional[Literal['simple', 'full']]" = "full",
|
861
863
|
downsample: "Optional[bool]" = True,
|
@@ -868,6 +870,7 @@ class BECImageShow(RPCBase):
|
|
868
870
|
|
869
871
|
Args:
|
870
872
|
monitor(str): The name of the monitor to display.
|
873
|
+
monitor_type(Literal["1d","2d"]): The type of monitor to display.
|
871
874
|
color_bar(Literal["simple","full"]): The type of color bar to display.
|
872
875
|
color_map(str): The color map to use for the image.
|
873
876
|
data(np.ndarray): Custom data to display.
|
@@ -1180,6 +1183,7 @@ class BECImageWidget(RPCBase):
|
|
1180
1183
|
def image(
|
1181
1184
|
self,
|
1182
1185
|
monitor: "str",
|
1186
|
+
monitor_type: "Optional[Literal['1d', '2d']]" = "2d",
|
1183
1187
|
color_map: "Optional[str]" = "magma",
|
1184
1188
|
color_bar: "Optional[Literal['simple', 'full']]" = "full",
|
1185
1189
|
downsample: "Optional[bool]" = True,
|
@@ -2096,6 +2100,15 @@ class BECWaveform(RPCBase):
|
|
2096
2100
|
colormap(str, optional): Scale the colors of curves to colormap. If None, use the default color palette.
|
2097
2101
|
"""
|
2098
2102
|
|
2103
|
+
@rpc_call
|
2104
|
+
def enable_scatter(self, enable: "bool"):
|
2105
|
+
"""
|
2106
|
+
Enable/Disable scatter plot on all curves.
|
2107
|
+
|
2108
|
+
Args:
|
2109
|
+
enable(bool): If True, enable scatter markers; if False, disable them.
|
2110
|
+
"""
|
2111
|
+
|
2099
2112
|
@rpc_call
|
2100
2113
|
def enable_fps_monitor(self, enable: "bool" = True):
|
2101
2114
|
"""
|
@@ -2419,6 +2432,15 @@ class BECWaveformWidget(RPCBase):
|
|
2419
2432
|
enabled(bool): If True, enable the FPS monitor.
|
2420
2433
|
"""
|
2421
2434
|
|
2435
|
+
@rpc_call
|
2436
|
+
def enable_scatter(self, enabled: "bool"):
|
2437
|
+
"""
|
2438
|
+
Enable the scatter plot of the plot widget.
|
2439
|
+
|
2440
|
+
Args:
|
2441
|
+
enabled(bool): If True, enable the scatter plot.
|
2442
|
+
"""
|
2443
|
+
|
2422
2444
|
@rpc_call
|
2423
2445
|
def lock_aspect_ratio(self, lock: "bool"):
|
2424
2446
|
"""
|
bec_widgets/utils/crosshair.py
CHANGED
@@ -8,6 +8,14 @@ from qtpy.QtCore import QObject, Qt
|
|
8
8
|
from qtpy.QtCore import Signal as pyqtSignal
|
9
9
|
|
10
10
|
|
11
|
+
class NonDownsamplingScatterPlotItem(pg.ScatterPlotItem):
|
12
|
+
def setDownsampling(self, ds=None, auto=None, method=None):
|
13
|
+
pass
|
14
|
+
|
15
|
+
def setClipToView(self, state):
|
16
|
+
pass
|
17
|
+
|
18
|
+
|
11
19
|
class Crosshair(QObject):
|
12
20
|
positionChanged = pyqtSignal(tuple)
|
13
21
|
positionClicked = pyqtSignal(tuple)
|
@@ -47,6 +55,7 @@ class Crosshair(QObject):
|
|
47
55
|
self.plot_item.ctrl.derivativeCheck.checkStateChanged.connect(self.check_derivatives)
|
48
56
|
self.plot_item.ctrl.logXCheck.checkStateChanged.connect(self.check_log)
|
49
57
|
self.plot_item.ctrl.logYCheck.checkStateChanged.connect(self.check_log)
|
58
|
+
self.plot_item.ctrl.downsampleSpin.valueChanged.connect(self.clear_markers)
|
50
59
|
|
51
60
|
# Initialize markers
|
52
61
|
self.marker_moved_1d = {}
|
@@ -64,7 +73,7 @@ class Crosshair(QObject):
|
|
64
73
|
continue
|
65
74
|
pen = item.opts["pen"]
|
66
75
|
color = pen.color() if hasattr(pen, "color") else pg.mkColor(pen)
|
67
|
-
marker_moved =
|
76
|
+
marker_moved = NonDownsamplingScatterPlotItem(
|
68
77
|
size=10, pen=pg.mkPen(color), brush=pg.mkBrush(None)
|
69
78
|
)
|
70
79
|
marker_moved.skip_auto_range = True
|
@@ -73,7 +82,7 @@ class Crosshair(QObject):
|
|
73
82
|
|
74
83
|
# Create glowing effect markers for clicked events
|
75
84
|
for size, alpha in [(18, 64), (14, 128), (10, 255)]:
|
76
|
-
marker_clicked =
|
85
|
+
marker_clicked = NonDownsamplingScatterPlotItem(
|
77
86
|
size=size,
|
78
87
|
pen=pg.mkPen(None),
|
79
88
|
brush=pg.mkBrush(color.red(), color.green(), color.blue(), alpha),
|
@@ -72,6 +72,7 @@ class BECWaveform(BECPlotBase):
|
|
72
72
|
"set_y_lim",
|
73
73
|
"set_grid",
|
74
74
|
"set_colormap",
|
75
|
+
"enable_scatter",
|
75
76
|
"enable_fps_monitor",
|
76
77
|
"lock_aspect_ratio",
|
77
78
|
"export",
|
@@ -371,6 +372,20 @@ class BECWaveform(BECPlotBase):
|
|
371
372
|
else:
|
372
373
|
raise ValueError("Identifier must be either an integer (index) or a string (curve_id).")
|
373
374
|
|
375
|
+
def enable_scatter(self, enable: bool):
|
376
|
+
"""
|
377
|
+
Enable/Disable scatter plot on all curves.
|
378
|
+
|
379
|
+
Args:
|
380
|
+
enable(bool): If True, enable scatter markers; if False, disable them.
|
381
|
+
"""
|
382
|
+
for curve in self.curves:
|
383
|
+
if isinstance(curve, BECCurve):
|
384
|
+
if enable:
|
385
|
+
curve.set_symbol("o") # You can choose any symbol you like
|
386
|
+
else:
|
387
|
+
curve.set_symbol(None)
|
388
|
+
|
374
389
|
def plot(
|
375
390
|
self,
|
376
391
|
arg1: list | np.ndarray | str | None = None,
|
@@ -1287,7 +1302,11 @@ class BECWaveform(BECPlotBase):
|
|
1287
1302
|
Update the scan curves with the data from the scan segment.
|
1288
1303
|
"""
|
1289
1304
|
try:
|
1290
|
-
data =
|
1305
|
+
data = (
|
1306
|
+
self.scan_item.live_data
|
1307
|
+
if hasattr(self.scan_item, "live_data") # backward compatibility
|
1308
|
+
else self.scan_item.data
|
1309
|
+
)
|
1291
1310
|
except AttributeError:
|
1292
1311
|
return
|
1293
1312
|
|
@@ -1340,8 +1359,14 @@ class BECWaveform(BECPlotBase):
|
|
1340
1359
|
list|np.ndarray|None: X data for the curve.
|
1341
1360
|
"""
|
1342
1361
|
x_data = None
|
1362
|
+
live_data = (
|
1363
|
+
self.scan_item.live_data
|
1364
|
+
if hasattr(self.scan_item, "live_data")
|
1365
|
+
else self.scan_item.data
|
1366
|
+
)
|
1343
1367
|
if self._x_axis_mode["name"] == "timestamp":
|
1344
|
-
|
1368
|
+
|
1369
|
+
timestamps = live_data[y_name][y_entry].timestamps
|
1345
1370
|
|
1346
1371
|
x_data = timestamps
|
1347
1372
|
return x_data
|
@@ -1361,7 +1386,7 @@ class BECWaveform(BECPlotBase):
|
|
1361
1386
|
else:
|
1362
1387
|
x_name = self.scan_item.status_message.info["scan_report_devices"][0]
|
1363
1388
|
x_entry = self.entry_validator.validate_signal(x_name, None)
|
1364
|
-
x_data =
|
1389
|
+
x_data = live_data[x_name][x_entry].val
|
1365
1390
|
self._x_axis_mode["label_suffix"] = f" [auto: {x_name}-{x_entry}]"
|
1366
1391
|
current_label = "" if self.config.axis.x_label is None else self.config.axis.x_label
|
1367
1392
|
self.plot_item.setLabel(
|
@@ -1372,7 +1397,7 @@ class BECWaveform(BECPlotBase):
|
|
1372
1397
|
x_name = curve.config.signals.x.name
|
1373
1398
|
x_entry = curve.config.signals.x.entry
|
1374
1399
|
try:
|
1375
|
-
x_data =
|
1400
|
+
x_data = live_data[x_name][x_entry].val
|
1376
1401
|
except TypeError:
|
1377
1402
|
x_data = []
|
1378
1403
|
return x_data
|
@@ -42,7 +42,7 @@ class CurveConfig(ConnectionConfig):
|
|
42
42
|
parent_id: Optional[str] = Field(None, description="The parent plot of the curve.")
|
43
43
|
label: Optional[str] = Field(None, description="The label of the curve.")
|
44
44
|
color: Optional[str | tuple] = Field(None, description="The color of the curve.")
|
45
|
-
symbol: Optional[str] = Field("o", description="The symbol of the curve.")
|
45
|
+
symbol: Optional[str | None] = Field("o", description="The symbol of the curve.")
|
46
46
|
symbol_color: Optional[str | tuple] = Field(
|
47
47
|
None, description="The color of the symbol of the curve."
|
48
48
|
)
|
@@ -201,7 +201,8 @@ class BECCurve(BECConnector, pg.PlotDataItem):
|
|
201
201
|
symbol(str): Symbol of the curve.
|
202
202
|
"""
|
203
203
|
self.config.symbol = symbol
|
204
|
-
self.
|
204
|
+
self.setSymbol(symbol)
|
205
|
+
self.updateItems()
|
205
206
|
|
206
207
|
def set_symbol_color(self, symbol_color: str):
|
207
208
|
"""
|
@@ -53,6 +53,7 @@ class BECWaveformWidget(BECWidget, QWidget):
|
|
53
53
|
"set_auto_range",
|
54
54
|
"set_grid",
|
55
55
|
"enable_fps_monitor",
|
56
|
+
"enable_scatter",
|
56
57
|
"lock_aspect_ratio",
|
57
58
|
"export",
|
58
59
|
"export_to_matplotlib",
|
@@ -650,6 +651,15 @@ class BECWaveformWidget(BECWidget, QWidget):
|
|
650
651
|
"""
|
651
652
|
self.waveform.set_outer_axes(show)
|
652
653
|
|
654
|
+
def enable_scatter(self, enabled: bool):
|
655
|
+
"""
|
656
|
+
Enable the scatter plot of the plot widget.
|
657
|
+
|
658
|
+
Args:
|
659
|
+
enabled(bool): If True, enable the scatter plot.
|
660
|
+
"""
|
661
|
+
self.waveform.enable_scatter(enabled)
|
662
|
+
|
653
663
|
def lock_aspect_ratio(self, lock: bool):
|
654
664
|
"""
|
655
665
|
Lock the aspect ratio of the plot widget.
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=Dc1iDjsc72UxdUtihx4uSZU0lrTQeR8hZwGx1MQBfKE,8432
|
3
3
|
.pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=GX7PuoUYFPE97vwwYtKRXNT28wKXobKHMinD7WHePo8,7769
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=O66ysa8oQnHNARW2zVR1Xd5ymeIXvNaEKTmmGIZszqY,1332
|
8
8
|
README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=iGLNgHHnESjB03TIzIKmeFHNtQCwdXr2dxS6t9scdQk,2592
|
10
10
|
.git_hooks/pre-commit,sha256=n3RofIZHJl8zfJJIUomcMyYGFi_rwq4CC19z0snz3FI,286
|
11
11
|
.gitlab/issue_templates/bug_report_template.md,sha256=gAuyEwl7XlnebBrkiJ9AqffSNOywmr8vygUFWKTuQeI,386
|
12
12
|
.gitlab/issue_templates/documentation_update_template.md,sha256=FHLdb3TS_D9aL4CYZCjyXSulbaW5mrN2CmwTaeLPbNw,860
|
@@ -24,7 +24,7 @@ bec_widgets/assets/app_icons/alignment_1d.png,sha256=5VouaWieb4lVv3wUBNHaO5ovUW2
|
|
24
24
|
bec_widgets/assets/app_icons/bec_widgets_icon.png,sha256=K8dgGwIjalDh9PRHUsSQBqgdX7a00nM3igZdc20pkYM,1747017
|
25
25
|
bec_widgets/cli/__init__.py,sha256=d0Q6Fn44e7wFfLabDOBxpcJ1DPKWlFunGYDUBmO-4hA,22
|
26
26
|
bec_widgets/cli/auto_updates.py,sha256=DwzRChcFIWPH2kCYvp8H7dXvyYSKGYv6LwCmK2sDR2E,5676
|
27
|
-
bec_widgets/cli/client.py,sha256=
|
27
|
+
bec_widgets/cli/client.py,sha256=iwbdZ2-ruGwLPk1co5-pHXSWm-K99ms6P3wORZwnI1Q,83887
|
28
28
|
bec_widgets/cli/client_utils.py,sha256=EdDfo3uuYAWtZiDGGu3_GPnl94FSLkNG2N_4I9FNfMc,11809
|
29
29
|
bec_widgets/cli/generate_cli.py,sha256=C5SOlUeDzFgEptgpa5vdiF6c-YILLcfILZZtk9jr_H0,6637
|
30
30
|
bec_widgets/cli/rpc_register.py,sha256=QxXUZu5XNg00Yf5O3UHWOXg3-f_pzKjjoZYMOa-MOJc,2216
|
@@ -60,7 +60,7 @@ bec_widgets/utils/bec_table.py,sha256=nA2b8ukSeUfquFMAxGrUVOqdrzMoDYD6O_4EYbOG2z
|
|
60
60
|
bec_widgets/utils/bec_widget.py,sha256=1lrHNuvW6uOuPpr-cJBYJNbFekTsqpnQdfTo3P5tbWI,3330
|
61
61
|
bec_widgets/utils/colors.py,sha256=aUQkDMTRjTjS9lQfgO5NrUllU2r4ygDTTSUROtTBX90,12838
|
62
62
|
bec_widgets/utils/container_utils.py,sha256=0wr3ZfuMiAFKCrQHVjxjw-Vuk8wsHdridqcjy2eY840,1531
|
63
|
-
bec_widgets/utils/crosshair.py,sha256=
|
63
|
+
bec_widgets/utils/crosshair.py,sha256=f13tn1v_8FJ6C0WOLyDUXHaG_Nfzj4nMlLVEGqvs5Zc,11838
|
64
64
|
bec_widgets/utils/entry_validator.py,sha256=3skJIsUwTYicT76AMHm_M78RiWtUgyD2zb-Rxo2HdHQ,1313
|
65
65
|
bec_widgets/utils/fps_counter.py,sha256=seuCWwiNP5q2e2OEztloa66pNb3Sygh-0lEHAcYaDfc,2612
|
66
66
|
bec_widgets/utils/generate_designer_plugin.py,sha256=eidqauS8YLgoxkPntPL0oSG_lYqI2D7fSyOZvOtCU_U,5891
|
@@ -172,8 +172,8 @@ bec_widgets/widgets/figure/plots/image/image_processor.py,sha256=GeTtWjbldy6VejM
|
|
172
172
|
bec_widgets/widgets/figure/plots/motor_map/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
173
173
|
bec_widgets/widgets/figure/plots/motor_map/motor_map.py,sha256=AiDq4bmcEoj9PlkRQtHCk-5cwvOFGPBcfxPNNr8E53Y,18399
|
174
174
|
bec_widgets/widgets/figure/plots/waveform/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
175
|
-
bec_widgets/widgets/figure/plots/waveform/waveform.py,sha256=
|
176
|
-
bec_widgets/widgets/figure/plots/waveform/waveform_curve.py,sha256=
|
175
|
+
bec_widgets/widgets/figure/plots/waveform/waveform.py,sha256=IEc8ZQILHEhzkJSZLpvUlZBxAenXnIU6otznHxcf9FA,57521
|
176
|
+
bec_widgets/widgets/figure/plots/waveform/waveform_curve.py,sha256=KduOM3glj3Xq1m63cBDIoauNsIwEzZb8SHcK01_aJfU,8719
|
177
177
|
bec_widgets/widgets/image/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
178
178
|
bec_widgets/widgets/image/bec_image_widget.pyproject,sha256=PHisdBo5_5UCApd27GkizzqgfdjsDx2bFZa_p9LiSW8,30
|
179
179
|
bec_widgets/widgets/image/bec_image_widget_plugin.py,sha256=3nOHJTukHsEkaCLAivPHIY4qdshAj86LUKb5fYF3C-Y,1369
|
@@ -258,7 +258,7 @@ bec_widgets/widgets/waveform/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
258
258
|
bec_widgets/widgets/waveform/bec_waveform_widget.pyproject,sha256=GLD8GN9dXx9wNbtnevrxqqcwk7vKV-Uv8QYSycdaoaI,33
|
259
259
|
bec_widgets/widgets/waveform/bec_waveform_widget_plugin.py,sha256=qSQTeCzIUn8rgDkjIM47Rr3-fqg1uk8rDf_lCoY9gZw,1402
|
260
260
|
bec_widgets/widgets/waveform/register_bec_waveform_widget.py,sha256=qZHVZH_lP2hvzkG1Ra0EyrXlMeLkRCy0aceH-bfJ1cs,490
|
261
|
-
bec_widgets/widgets/waveform/waveform_widget.py,sha256=
|
261
|
+
bec_widgets/widgets/waveform/waveform_widget.py,sha256=x8OnXsSVTChceTO8l7ySY2oB2rpzHMZfS5PbxYV0LuY,25934
|
262
262
|
bec_widgets/widgets/waveform/waveform_popups/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
263
263
|
bec_widgets/widgets/waveform/waveform_popups/curve_dialog/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
264
264
|
bec_widgets/widgets/waveform/waveform_popups/curve_dialog/curve_dialog.py,sha256=VxbAtI_ZLfkrkTXqImQcNPwKDqFRWEj-vI8v6mmVMJ8,13025
|
@@ -270,8 +270,8 @@ bec_widgets/widgets/website/register_website_widget.py,sha256=LIQJpV9uqcBiPR9cEA
|
|
270
270
|
bec_widgets/widgets/website/website.py,sha256=42pncCc_zI2eqeMArIurVmPUukRo5bTxa2h1Skah-io,3012
|
271
271
|
bec_widgets/widgets/website/website_widget.pyproject,sha256=scOiV3cV1_BjbzpPzy2N8rIJL5P2qIZz8ObTJ-Uvdtg,25
|
272
272
|
bec_widgets/widgets/website/website_widget_plugin.py,sha256=pz38_C2cZ0yvPPS02wdIPcmhFo_yiwUhflsASocAPQQ,1341
|
273
|
-
bec_widgets-0.
|
274
|
-
bec_widgets-0.
|
275
|
-
bec_widgets-0.
|
276
|
-
bec_widgets-0.
|
277
|
-
bec_widgets-0.
|
273
|
+
bec_widgets-1.0.1.dist-info/METADATA,sha256=O66ysa8oQnHNARW2zVR1Xd5ymeIXvNaEKTmmGIZszqY,1332
|
274
|
+
bec_widgets-1.0.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
275
|
+
bec_widgets-1.0.1.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
|
276
|
+
bec_widgets-1.0.1.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
277
|
+
bec_widgets-1.0.1.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|