From 24c77376b232c3846a1d6be360ec46acc077b48d Mon Sep 17 00:00:00 2001 From: wyzula-jan <133381102+wyzula-jan@users.noreply.github.com> Date: Thu, 22 Feb 2024 14:49:39 +0100 Subject: [PATCH] fix(widgets/plots): added placeholder for cleanup method to BECPlotBase --- bec_widgets/widgets/plots/plot_base.py | 3 +++ 1 file changed, 3 insertions(+) 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."""