This bug is still present in Debian bookworm. Package python3-plotly version 5.4.1+dfsg-1
Debian *does* ship the un-minimized javascript and I was able to fix it by sudo ln -s /usr/share/python3-plotly/plotly.js /usr/lib/python3/dist-packages/plotly/package_data/plotly.min.js after creating the package_data directory. I don't care currently if the javascript is minimized or not. But Debian should really be shipping the minimized Javascript at the correct location. My use-case is exporting html from plotly and specifying that the javascript is not part of the exported html. Thanks Ralf Schlatterbeck -- Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16 Open Source Consulting www: www.runtux.com Reichergasse 131, A-3411 Weidling email: off...@runtux.com