Hi all,
I’m hoping someone can point me in the right direction, I may also have missed a section of documentation that covers this, apologies if that’s the case and a link would be gratefully received.
I want a separate action on my page to trigger a resize of the bokeh canvas.
The issue Setting plot_{width,height} doesn't work · Issue #1723 · bokeh/bokeh · GitHub mentions that `
`
Bokeh.Collections(‘Plot’).at(0).set(“plot_width”, 1000)
``
currently doesn’t work.
but @mattpap’s PR #1854, mention that it fixes this issue. However, I didn’t seem to be able to make the above code work on his PR branch.
So I’m wondering:
- what I’m missing
- what the workaround is for, say, 0.7.1
Many thanks,
Sarah Bird
Hi Mateusz,
Thanks so much for your response.
Now that PR #1854 has been merged, this is working for me on Chrome and FF on Ubuntu. Except, as you said, for the “unknown / unsatisfiable” thing which we can discuss on PR.
This is great.
Bird
···
On Tuesday, February 10, 2015 at 11:48:25 PM UTC-8, Sarah Bird wrote:
Hi all,
I’m hoping someone can point me in the right direction, I may also have missed a section of documentation that covers this, apologies if that’s the case and a link would be gratefully received.
I want a separate action on my page to trigger a resize of the bokeh canvas.
The issue https://github.com/bokeh/bokeh/issues/1723 mentions that `
`
Bokeh.Collections(‘Plot’).at(0).set(“plot_width”, 1000)
``
currently doesn’t work.
but @mattpap’s PR #1854, mention that it fixes this issue. However, I didn’t seem to be able to make the above code work on his PR branch.
So I’m wondering:
- what I’m missing
- what the workaround is for, say, 0.7.1
Many thanks,
Sarah Bird