☰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

Max image glyph size

Community Supportbokeh
rng_013721047240
rng_013721047240

Hi there,

I’m curious about what seems to be a limit on the size of image glyphs, up to 2**16-1. This doesn’t seem to be a PIL limit, I’m just curious where this limit comes from. An example of the limit is below, which results in no plot, but without any obvious errors. Hoping to get some understanding as to what’s going on here. Thanks!

d = np.ones((1, 65536))
p = figure(width=400, height=400, sizing_mode="stretch_both")
p.x_range.range_padding = p.y_range.range_padding = 0
p.image(image=[d], x=0, y=0, dw=10, dh=10, level="image")
p.grid.grid_line_width = 0.5
show(p)
⌁   Link to post

End of archived discussion · Replies are disabled