Improved module behaviour when changing to darkmode.

This commit is contained in:
jupfi 2024-05-17 16:09:09 +02:00
parent 136e9ab90b
commit ffc8d27149

View file

@ -136,6 +136,11 @@ class MeasurementView(ModuleView):
plotter.canvas.ax.set_title("Measurement data - Time domain")
plotter.canvas.ax.grid()
@pyqtSlot()
def on_settings_changed(self) -> None:
"""Redraw the plots in case the according settings have changed."""
self.update_displayed_measurement()
def change_to_time_view(self) -> None:
"""Change plotter to time domain view."""
plotter = self._ui_form.plotter