Disable overlay scaling on per-symbol-feed updates
Since each symbol's feed is multiplexed by quote key (an fqsn), we can avoid scaling overlay curves on any single update, presuming each quote driven cycle will trigger **only** the specific symbol's curve. Also disables fsp `.interact_graphics_cycle()` calls for now since it seems they aren't really that critical to and we should be using the same technique as above (doing incremental y-range checks/updates) for FSPs as well.log_linearized_curve_overlays
parent
6ea64a7d2e
commit
3daee0caa9
|
@ -727,10 +727,10 @@ def graphics_update_cycle(
|
|||
main_vb._ic is None
|
||||
or not main_vb._ic.is_set()
|
||||
):
|
||||
# print(f'SETTING Y-mxmx -> {main_viz.name}: {(mn, mx)}')
|
||||
print(f'SETTING Y-mxmx -> {main_viz.name}: {(mn, mx)}')
|
||||
main_vb.interact_graphics_cycle(
|
||||
# do_overlay_scaling=False,
|
||||
do_linked_charts=False,
|
||||
do_overlay_scaling=False,
|
||||
yranges={main_viz: (mn, mx)},
|
||||
)
|
||||
profiler('main vb y-autorange')
|
||||
|
@ -858,14 +858,13 @@ def graphics_update_cycle(
|
|||
# vlm_yr = (0, mx_vlm_in_view * 1.375)
|
||||
|
||||
main_vlm_viz.plot.vb.interact_graphics_cycle(
|
||||
# do_overlay_scaling=False,
|
||||
do_overlay_scaling=False,
|
||||
do_linked_charts=False,
|
||||
)
|
||||
profiler('`vlm_chart.view.interact_graphics_cycle()`')
|
||||
|
||||
# update all downstream FSPs
|
||||
for curve_name, viz in vlm_vizs.items():
|
||||
|
||||
if curve_name == 'volume':
|
||||
continue
|
||||
|
||||
|
@ -890,9 +889,10 @@ def graphics_update_cycle(
|
|||
# XXX: without this we get completely
|
||||
# mangled/empty vlm display subchart..
|
||||
fvb = viz.plot.vb
|
||||
fvb.interact_graphics_cycle(
|
||||
do_linked_charts=False,
|
||||
)
|
||||
# fvb.interact_graphics_cycle(
|
||||
# do_linked_charts=False,
|
||||
# do_overlay_scaling=False,
|
||||
# )
|
||||
profiler(
|
||||
f'Viz[{viz.name}].plot.vb.interact_graphics_cycle()`'
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue