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

fix(widgets/plots): added placeholder for cleanup method to BECPlotBase

This commit is contained in:
wyzula-jan
2024-02-22 14:49:39 +01:00
parent f364afcb42
commit 24c77376b2

View File

@ -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."""