Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ sigmon = [
"pygraphviz>=1.14",
"typer>=0.15.1",
"ezmsg-qt>=0.2.1",
"phosphor>=0.9.1",
"phosphor>=0.11.0",
"pandas",
]
viewer = [
"PySide6>=6.7",
"typer>=0.15.1",
"ezmsg-qt>=0.2.1",
"phosphor>=0.9.1",
"phosphor>=0.11.0",
]

[project.scripts]
Expand Down
3 changes: 3 additions & 0 deletions src/ezmsg/tools/plot/shmem_sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ def _apply_shape(self, shape: StreamShape) -> None:
else:
self._sweep.update_config(self._config_for(shape))
self._sweep.set_channel_labels(self._labels_for(shape))
if self._controls is not None:
self._controls.set_amplitude_unit(shape.unit)

def _labels_for(self, shape: StreamShape) -> list[str]:
labels = shape.channel_labels
Expand Down Expand Up @@ -306,5 +308,6 @@ def _build(self, shape: StreamShape) -> None:
self._sweep.set_channel_labels_visible(True)
if self._show_controls:
self._controls = ChannelPlotControlsWidget(self._sweep, parent=self)
self._controls.set_amplitude_unit(shape.unit)
self._layout.addWidget(self._controls)
self.on_plot_built()
Loading