Add per-chart `Viz`/overlay graphics iterator method
parent
75642929e3
commit
9b960594aa
|
@ -1355,3 +1355,6 @@ class ChartPlotWidget(pg.PlotWidget):
|
||||||
@property
|
@property
|
||||||
def main_viz(self) -> Viz:
|
def main_viz(self) -> Viz:
|
||||||
return self.get_viz(self.name)
|
return self.get_viz(self.name)
|
||||||
|
|
||||||
|
def iter_vizs(self) -> Iterator[Viz]:
|
||||||
|
return iter(self._vizs.values())
|
||||||
|
|
Loading…
Reference in New Issue