Description of expected behavior and the observed behavior
While generating a svg export in bokeh 2.1.1 an unnecessary empty file is created, too. The second file gets the same name as the first one with a suffix "_1" right before the file extension.
It was expected that only on file is created.
import numpy as np
import bokeh.plotting as bk_plt
import bokeh.io as bk_io
N = 500
x = np.linspace(0, 10, N)
y = np.linspace(0, 10, N)
xx, yy = np.meshgrid(x, y)
d = np.sin(xx)*np.cos(yy)
p2 = bk_plt.figure(x_range=(0, 10), y_range=(0, 10))
p2.image(image=[d], x=0, y=0, dw=10, dh=10, palette="Spectral11", alpha = 0.5)
p2.output_backend = 'svg'
bk_io.export_svgs(p2, filename = 'asdf.svg')
The text was updated successfully, but these errors were encountered: