☰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

Dynamically changing figure height

Community Support
jbeck
jbeck

I am trying to allow the user to change the height of a figures in a subplot by using a single slider widget. I have an list of figures that I stuff into gridplot(). I use a for loop to integrate through the figures in the list and on each iteration set subplot[0].height = new

This works beautifully, except that when I make the figure larger the x-axis disappears until I make it the original size or smaller. There is only a tiny gap between figures when I make them larger. It appears that the size of this gap is constant no matter what the height of the figures is so long as it is bigger than the original size.

Any ideas what would cause this? Or what the appropriate way to update the figure height property would be?

Thanks for your help.

⌁   Link to post

End of archived discussion · Replies are disabled