☰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

resize plot with javascript

Community Support
Schaun_Wheeler
Schaun_Wheeler

I’m trying to make a plot responsive. I saw here that is should be easy to manipulate the plot size in javascript, but after digging through bokeh.js I haven’t been able to figure it out. I can easily change the width and height, but I can’t figure out how to actually re-render the plot. I would love it if I could just call ResizeTool programmatically instead of actually clicking on the tool button. Is there a straightforward way to do this?

Thanks in advance for any help you can offer.

Schaun

⌁   Link to post

End of archived discussion · Replies are disabled