I can’t seem to get the
anchor argument to work with
image_url(), specifically in combination with the
angle argument. This script should rotate the image around the center (anchor) but it still seems to rotate around the upper left corner of the image.
Is there something I’m missing or is
anchor not working?
from bokeh.plotting import figure, show, output_file output_file("foo.html") p = figure(x_range=(-500,500), y_range=(-500,500)) img="https://static.bokeh.org/logos/logo.png" p.image_url( url=[ img ], x=0, y=0, w=400, h=400, anchor="center", angle=0.5) show(p)