-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Milestone
Description
Also exporting a plot with output_backend='svg' when it contains arrows throws the following warning/exception:
WARNING:bokeh.io.export:The webdriver raised a TimeoutException while waiting for a bokeh:idle' event to signify that the layout has rendered. Something may have gone wrong.
It does not matter wether it is exported as svg or png, and the resulting image looks the same. Plot looks the same when using show() but no exception is shown.
Minimal example
from bokeh.io import export_svgs, export_png
from bokeh.models import Plot, Arrow, VeeHead, Range1d
plot = Plot( output_backend='svg',y_range=Range1d(-1,2),x_range=Range1d(-1,2))
plot.add_layout(Arrow(end=VeeHead(),
x_start=0, y_start=0,
x_end=1, y_end=1))
plot.add_layout(Arrow(end=VeeHead(),
x_start=0, y_start=0,
x_end=0, y_end=1))
export_png(plot,filename='svg_arrow.png')
export_svgs(plot,filename='arrow.svg')
Version Info
python: 3.6.8
bokeh: 1.0.4
selenium: 3.141.0
phantomjs: 2.1.1

