Replies: 2 comments 22 replies
-
Beta Was this translation helpful? Give feedback.
-
|
I just ran across this, so I'm sorry for chiming in late. I think the updated contrast does look better, but I have one concern that people are more often just looking at a plot than they are actively trying to interact with the plot's tools. Having those icons be muted helps avoid having them distract from the data, which is normally more important than the tools that one might use with the data. So I'm wondering if this increase in contrast could be combined with having the tools be very low contrast until the user starts hovering over them or interacting with them? Or like Plotly, having the tools not even visible by default, and only appearing when needed? I know that latter capability was added to Bokeh years ago, but at least in the HoloViz ecosystem we've never been able to use it due to some limitations (if those are still present), and in general I don't think most people enable that feature. So my own vote would be to yes, crank up the contrast like this when trying to use the tools, but to have some way enabled by default that the tools are less prominent when not being used. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Bokeh doesn’t have a cohesive colour system right now, which makes things inconsistent, harder to maintain, and less accessible. This proposal introduces a structured, accessible, and maintainable colour system to fix that.
Problem
Since there's no defined colour system, things have become messy over time. This causes:
Proposed Colour System
We put together a colour palette to fix these issues. I'm still in the process of tweaking these colours but these are minor changes. I'll update the image whenever there are changes, but for the latest version it'd be better to refer to the Figma version.
Primary & Accent Colours
#478FC1) – A refined version of Bokeh’s existing blue, optimized for accessibility.#88898C) – A standardized grey for graph components and UI elements.#B64AA6) – Chosen to stand out from the blue and highlight important elements.Semantic Colours
#53993A) – A clear green for positive feedback.#D86750) – An accessible orange for warnings. Yellow was avoided since it’s hard to extend into a full palette without turning muddy or losing contrast.#CE4442) – A well-balanced red for errors and alerts.You can also access this palette on Accessible Palette
Visual Changes
Here’s how components will look with the updated colour system:
There’s not much of a visual difference, but the contrast is a lot better.
Feedback
Would love to hear thoughts on this. If you're giving feedback on the colours, it helps to be specific about potential issues rather than just personal preference.
🚫 "I like a more vibrant colour palette."
✅ "Some colours look muted compared to other visualization tools. Would a slightly higher contrast palette improve readability?"
This is an open discussion, so feel free to share thoughts!
CCing fellow contributors: @trallard @pavithraes @gabalafou
Beta Was this translation helpful? Give feedback.
All reactions