Closed elgar328 closed 6 months ago
It works well. It was my mistake.
using PlotlyLight
using PlotlyKaleido
p = plot(y=rand(10))
PlotlyLight.save(p, "myplot.html")
PlotlyKaleido.start()
(;data, layout, config) = p
PlotlyKaleido.savefig((; data, layout, config), "myplot.png", height=300, width=1000)
PlotlyKaleido.kill_kaleido()
When I create a figure using PlotlyLight, the HTML version scales well with my settings, but the size of the images saved with PlotlyKaleido does not.
myplot.html
myplot.png