Hello,
I am using bokeh (0.4.2) from within IPython Notebook. I am very happy with the “Resize” tool as it is very convenient. However, I do not know how to achieve two interrelated things. I would like to:
- change the default size of a plot (so as to make use of the full width of the IPython Notebook by default) and
- ensure that the coordinate system still has an aspect ratio of 1:1 (i.e. a perfect square in the coordinate system also appears as a square on screen).
I have so far managed to set the aspect ratio to 1:1 at the beginning by doing
plot = curplot()
plot.y_range = plot.x_range.clone()
but I suspect there is a better way to do that. Also, this aspect ratio is destroyed when using the “Resize” tool. It would be great to fix the aspect ratio but simply change the size of the “viewport” when using the Resize tool.
Any hints would be very much appreciated.
Thanks,
Felix

