diff --git a/bec_widgets/widgets/plots/plot_base.py b/bec_widgets/widgets/plots/plot_base.py index 2b073174..8215e696 100644 --- a/bec_widgets/widgets/plots/plot_base.py +++ b/bec_widgets/widgets/plots/plot_base.py @@ -205,3 +205,6 @@ class BECPlotBase(BECConnector, pg.PlotItem): """Remove the plot widget from the figure.""" if self.figure is not None: self.figure.remove(widget_id=self.gui_id) + + def cleanup(self): + """Cleanup the plot widget."""