☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Geologic Cross Section Tool --> Inline time-series plots

Showcase
gmerritt123
gmerritt123

Over the next few weeks, I’ll be making a few LinkedIn posts promoting/demonstrating bokeh-based tools for hydrogeology/groundwater modelling. I’m planning on cross posting them here (if there aren’t any objections…)

The first one is here , and showcases my cross section tool for viewing arbitrarily-drawn cross sections of geologic models and displaying various types of downhole data on section (lithology, water levels, well screens, etc.).

For the bokeh community, the neat addition to this application (for this project) was adding inline time series plots to the section, so you can see the chloride (contaminant) concentrations at a particular well over time on a custom HoverTool/tooltip figure.

Massive thanks to the core devs as always!

PEST_IES_5

⌁   Link to post
Ras
Ras

Hi @gmerritt123, awesome tool indeed. Does your inline timeseries plot work when in fullscreen mode? I’m struggling with that at the moment. Playing around with ‘z-index’ of the div at the moment. Would appreciate a few pointers :folded_hands:

⌁   Link to post
Ras
Ras

Thanks @gmerritt123,

Sorry for the late reply. I tried a few different methods with this. Very briefly:
1.) Bokeh.embed.embed_item(JSON.parse(~jsonified-plot-from-bokeh~), ~existing-div-to-embed-into~);
2.) Utilizing a third-party JS-library to re-create the tooltip-plot entirely from the browser JS side, however triggered from an instance of Bokeh’s HoverTool.

Both methods work in fullscreen mode, but, Method 1 breaks much of the interactivity I need to preserve between Bokeh python and the bowser JS. So, I ended-up going with method 2.

A third method was to utilize a bokeh Dialog. This method was the easiest to implement and preserves much of the interactivity I need between bokeh python and browser JS. However, the Dialog doesn’t appear when in fullscreen mode. I started a separate thread for the remaining issue here.

Regards,
Ras

p.s. I’m using Bokeh 3.7.2 on Ubuntu

⌁   Link to post

End of archived discussion · Replies are disabled