0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

fix(waveform): readout_priority dict fixed, not overwritten to 'baseline' key

This commit is contained in:
2024-07-15 21:54:59 +02:00
parent 9a91583ed0
commit b5b0aa4f82

View File

@ -364,7 +364,7 @@ class BECWaveform(BECPlotBase):
self.x_axis_mode = {
"name": x_name,
"entry": x_entry,
readout_priority_x: readout_priority_x,
"readout_priority": readout_priority_x,
}
if len(self.curves) > 0:
@ -596,8 +596,6 @@ class BECWaveform(BECPlotBase):
y_name(str): Name of the y signal.
y_entry(str): Entry of the y signal.
color(str, optional): Color of the curve. Defaults to None.
color_map_z(str): The color map to use for the z-axis.
label(str, optional): Label of the curve. Defaults to None.
dap(str): The dap model to use for the curve.
validate_bec(bool, optional): If True, validate the signal with BEC. Defaults to True.
**kwargs: Additional keyword arguments for the curve configuration.
@ -632,7 +630,6 @@ class BECWaveform(BECPlotBase):
label=label,
source="DAP",
dap=dap,
pen_style="dash",
symbol="star",
**kwargs,
)