Open marthacryan opened 3 weeks ago
To be clear, the big drain is if these packages are installed in the system but are not imported for any purpose other than us reading their version numbers. In that case we should wait to import them until we actually need that version number.
@marthacryan is this small enough that we can sneak it into 6.0 or should it be 6.1? (reluctant to keep adding "little things" to the current release, but if this gives us a performance boost…)
There are some optional imports in the
_renderers.py
file inplotly/io
that could slow down startup time when the packages aren't present. See https://github.com/plotly/plotly.py/pull/4823#discussion_r1834473662