☰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

Blurry Axis Issue

Community Support
Bryan
Bryan

@Greg_Black As mentioned in the issue I am not sure what else we can do at this point (although I would love to hear any suggestions). We just call the standard fillText method on a standard HTML Canvas rendering context. Everything after that is in the browser’s hands and outside our control.

If you want to help investigate, then I can suggest that you (this falls to you since you are the person who can reproduce things) look at plots on the docs site across various versions, e.g.

Gallery — Bokeh 2.1.1 Documentation

Do those plots exhibit what you are seeing in your own plots? What about going back to older versions (e.g. 1.x, 0.x) does the problem persist across versions? The only thing that would point definitively to the problem being something we can do anything about is if it can be shown that new versions have a problem, but old versions do not.

⌁   Link to post
Greg_Black
Greg_Black

Hi Bryan,

I’ve noticed that this label is showing up clear

stackpdc_labels_low = LabelSet(x='lowlist', y='Pets', text='low_format', level='glyph', text_align='center',
        x_offset=0, y_offset=-5, source=stackpdc_source, render_mode='css', text_font_size='12px', text_baseline='middle')

Whereas this label is blurry

raw_ref_labels = LabelSet(x='raw_ref', y='Pets', text='raw_ref', level='overlay', 
        x_offset=-15, y_offset=0, source=avg_source2, render_mode='canvas', text_align='center', text_font_size='12px')

All axes, labels, titles are blurry except this labelset with render_mode = ‘css’. Is there a way to change the default render mode for all objects?

Best,
Greg

⌁   Link to post
Bryan
Bryan

@Greg_Black No there are only a handful of places that offer CSS render mode, and some of those have already been deprecated. Bokeh is, at core, a canvas plotting library. Did you have a chance to survey they gallery with different versions? I’m still not seeing or able to reproduce any blurry axes on OSX either Safari or Chrome (85.0.4183.102) with latest Bokeh version.

⌁   Link to post

End of archived discussion · Replies are disabled