Repository navigation
Isolate Bokeh state for concurrent plot output - #1423
DirkEmmett wants to merge 1 commit into
Conversation
Address kernc#125 with per-call documents and output state for plots and heatmaps. Preserve notebook callback isolation and native BokehJS loading, and cover concurrent files, output modes, and delayed notebook rendering.
|
Read the diff. I did not run the tests; I only checked what I could outside the suite. The notebook branch of The file path ( |
Concurrent plots share Bokeh's global output state, so one request can overwrite another request's HTML file or leave it missing.
Use per-call state and documents for plots and heatmaps, preserving notebook callbacks and delayed BokehJS loading.
Fixes #125.
Validation: 85 tests passed, 1 skipped on both Bokeh 3.10.1 and 3.1.1; the 3.10.1 browser smoke passed. Existing Mypy errors and the 3.1.1 browser-smoke failure also reproduce on the base revision.