☰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

Zooming / tick labels pushes y axis to the right

Community Support
daniell
daniell

Hi, probably a simple question but I can’t seem to find the right settings for this. Whenever I zoom in or out of a plot the tick labels on the y axis will sometimes need more space and as result the axis is shifted over a bit and plotting area reduced slightly. I would like the plotting area / axis to be “anchored” and instead make the tick labels extend to the left. Is there some margin/padding/overflow setting I am missing?

Thanks! /Daniel

⌁   Link to post
Bryan
Bryan

You can set min_border_left on the plot to be a value (in pixels) larger than the plot labels are ever expected to be, you can change the format or orientation of the labels to take up less horizontal space in general, or a combination of the above.

⌁   Link to post

End of archived discussion · Replies are disabled