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

log_linearized_curve_overlays
Tyler Goodlet 2023-02-28 18:02:34 -05:00
parent 75642929e3
commit 9b960594aa
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())