☰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

labels of empty plots oddly placed

Community Support
Sebastien_Roche
Sebastien_Roche

If you give labels to an empty figure, part of them will show up in the top left corner of the canvas until something is actually plotted.

from bokeh.io import show
from bokeh.plotting import figure

fig = figure()
fig.xaxis.axis_label = “xaxis label”
fig.yaxis.axis_label = “yaxis label”

show(fig)

``

I think it’s just since 0.12.7

⌁   Link to post
Bryan
Bryan

Hi

Possibly this:

  Fix positioning of axis label by mattpap · Pull Request #6857 · bokeh/bokeh · GitHub

Bryan

···

On Aug 31, 2017, at 21:15, Sébastien Roche <sebastienroche11@gmail.com> wrote:

If you give labels to an empty figure, part of them will show up in the top left corner of the canvas until something is actually plotted.

from bokeh.io import show
from bokeh.plotting import figure

fig = figure()
fig.xaxis.axis_label = "xaxis label"
fig.yaxis.axis_label = "yaxis label"

show(fig)

I think it's just since 0.12.7

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/13b7ae6b-0505-44c5-bf10-856c4e8f16a7%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled