The launch of kaleido (_start_kaleido_process call) takes quite a long time, and it is not always necessary. For example, Dash.jl uses PlotlyBase only to generate json for PlotlyGraph objects. But at the same time, the launch of kaledio takes 90 percent of the time of using Dash (about 2.5 seconds on my laptop).
It would be really great if it could be avoided.
The options that I see are:
- take out the kaleido to the
PlotlyJS.jl
- run it in lazy mode on demand
- Make a separate package for working with plotly json
Perhaps there are other options