☰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

Dynamic change scale from linear to log

Community Support
jsgounot
jsgounot

Hi,

After searching in various places, I still don’t really know if it’s possible to dynamically change a figure scale (in my case from linear to log). As a turnaround, I’m using a panel with two tabs but I would love to just have the possibility to switch between the two scales using a radio buttons group for example. Am I missing something obvious ? I tried to change the y_scale attribute but nothing is modified when it’s done.

Thank you

⌁   Link to post
p-himik
p-himik

Just tried to do that without re-rendering the whole plot, and now I remember why it didn’t work.
The issue is that PlotView stores all the scales internally when it’s initialized. You cannot overwrite them without creating a custom Plot class.

⌁   Link to post

End of archived discussion · Replies are disabled