Особенно обидно что в питоновской версии такого косяка нет:
on the Python side we do two things that look different from this:
(1) Kaleido is an optional dependency of
plotly.py; if we don't find it when starting up, that functionality is disabled. We've discussed making a core package with minimal dependencies, and a "batteries included" package that installs the core and all the optional dependencies. Most users would then use the full package and everything would work, but those with more specific needs could streamline their installation and imports.
(2) Kaleido is lazy in starting its process.