I’m excited to announce version 0.4 of PlotlyBase.jl which adds static image export that does not require Blink.jl, or any external web process! This can easily run on remote machines without a display.
We have integrated with plotly’s new C++ based image exporter kaleido to provide a fast and seamless experience for Plotly users in Julia.
This new functionality makes the ORCA.jl package obsolete and no longer required for exporting figures to files.
To use it make sure you have the latest PlotlyBase (or PlotlyJS, which uses PlotlyBase under the hood) installed on your system and then do:
using PlotlyBase # or using PlotlyJS # construct a plot -- this is just random lines p = Plot(rand(10, 4)) # or `plot(...)` if you used PlotlyJS savefig(p, "myfile.png") savefig(p, "myfile.pdf") savefig(p, "myfile.jpg") # other file formats...
Please take it for a spin let us know how it works!