Bokeh Plot with equal axes
I created a Plot with the Python
library Bokeh
(see code).
from bokeh.plotting import *
figure()
hold()
rect([1,3], [1,1], [1,0.5], [1,0.5])
patch([0,0,4,4], [2,0,0,2], line_color="black", fill_color=None)
show()
How can I represent the squares (rectangle with the same width and height) with equal axes as in matplotlib with the command axis('equal')
?
http://matplotlib.org/examples/pylab_examples/axis_equal_demo.html
I see the option to change the width and height of the plot or define the axis range to solve this problem but I think, there should be a smarter alternative.
NOTE: I'm using Python v.2.7.8
and Bokeh v.0.6.1
.
match_aspect
in 0.12.7 – Fur