made MDISubPlot.plots a dict

This commit is contained in:
2023-01-25 00:06:23 +01:00
parent 4ea13a5d5c
commit c9f894ad7b

View File

@ -11,7 +11,8 @@ class MDISubPlot(MDISubWindow):
style = pg_plot_style()
plt = pg.PlotWidget()
self.plot = desc.make_plot(plt, style)
plot = desc.make_plot(plt, style)
self.plots = {name: plot}
self.setWidget(plt)