Add per-chart `Viz`/overlay graphics iterator method

storage_cli
Tyler Goodlet 2023-02-28 18:02:34 -05:00
parent 5c08b5658f
commit e0dd8ae3cf
1 changed files with 3 additions and 0 deletions

View File

@ -1355,3 +1355,6 @@ class ChartPlotWidget(pg.PlotWidget):
@property
def main_viz(self) -> Viz:
return self.get_viz(self.name)
def iter_vizs(self) -> Iterator[Viz]:
return iter(self._vizs.values())