☰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

Colorbar Span / Custom tick

Community Support
afonsobspinto
afonsobspinto

Hello everyone.

I’m trying to add (and style → change color and size) a line to a specific location in a Colorbar.

Given a slightly modified version of the unemployment heatmap example available in a gist here, I would like to map the US colorbar (palette: blue to salmon) into the World colorbar (palette: white to blue).
To achieve that I think the best option is to add a line (span?) in the World colorbar at locations 3, minimum of US colorbar and 11.4, maximum of US colorbar (like shown below).

How can one do that?

Thanks

⌁   Link to post
Bryan
Bryan

There is not currently any capability for this, but it seems like a reasonable ask, and it may become easier to implement after some current ongoing improvements to colorbars are finished. Please feel free to open a Github issue to request this feature.

⌁   Link to post

End of archived discussion · Replies are disabled