Drop `update_graphics_from_flow()`
parent
a0fb84f55b
commit
32f21dc06b
|
@ -1280,24 +1280,6 @@ class ChartPlotWidget(pg.PlotWidget):
|
||||||
**draw_curve_kwargs,
|
**draw_curve_kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
def update_graphics_from_flow(
|
|
||||||
self,
|
|
||||||
graphics_name: str,
|
|
||||||
array_key: Optional[str] = None,
|
|
||||||
|
|
||||||
**kwargs,
|
|
||||||
|
|
||||||
) -> pg.GraphicsObject:
|
|
||||||
'''
|
|
||||||
Update the named internal graphics from ``array``.
|
|
||||||
|
|
||||||
'''
|
|
||||||
viz = self._vizs[array_key or graphics_name]
|
|
||||||
return viz.update_graphics(
|
|
||||||
array_key=array_key,
|
|
||||||
**kwargs,
|
|
||||||
)
|
|
||||||
|
|
||||||
# TODO: pretty sure we can just call the cursor
|
# TODO: pretty sure we can just call the cursor
|
||||||
# directly not? i don't wee why we need special "signal proxies"
|
# directly not? i don't wee why we need special "signal proxies"
|
||||||
# for this lul..
|
# for this lul..
|
||||||
|
|
|
@ -707,9 +707,7 @@ async def open_vlm_displays(
|
||||||
|
|
||||||
last_val_sticky.update_from_data(-1, value)
|
last_val_sticky.update_from_data(-1, value)
|
||||||
|
|
||||||
_, _, vlm_curve = vlm_chart.update_graphics_from_flow(
|
_, vlm_curve = vlm_viz.update_graphics()
|
||||||
'volume',
|
|
||||||
)
|
|
||||||
|
|
||||||
# size view to data once at outset
|
# size view to data once at outset
|
||||||
vlm_chart.view._set_yrange(
|
vlm_chart.view._set_yrange(
|
||||||
|
|
Loading…
Reference in New Issue