Added better support for computing bokeh plot size #1140
I made one comment (although I can't say I follow all the detailed size computation logic!) but generally it looks good.
The main thing I checked was that
Happy to merge once you address my comment.