☰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

Plot labels disappear when y-axis is logarithmic and max-y is specified

Community Support
bjurasz
bjurasz

I’m trying to do some box and whisker plots, using this an an example:

But in my eventual need, with my data, I will need a logarithmic y-axis and also need to set the maximum y-value as well, using:

           y_axis_type="log",
           y_range=(0,100),

But when I do both of those the labels for my x and y-axis disappear! See the following plot where the labels are missing. This only happens when BOTH the lines above are in force. In all other cases the x and y labels are on the plot. Anyone have any ideas? Thanks.

⌁   Link to post
bjurasz
bjurasz

Odd. But I discovered a solution to the above problem. Make the y-range not start at zero, even if only a tiny bit above zero. Like this:

y_range=(0.1, 100),

If anyone knows why, it would be nice to know. But at least my plots work again.

⌁   Link to post

End of archived discussion · Replies are disabled