Add per-chart `Viz`/overlay graphics iterator method
parent
5c08b5658f
commit
e0dd8ae3cf
|
@ -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