Update Plotly.js 
diff --git a/frontend/package.json b/frontend/package.json
index ac1f2cf39c28..79845486bbed 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -68,7 +68,7 @@
     "node-emoji": "^1.10.0",
     "node-sass": "^4.14.1",
     "numbro": "^2.3.1",
-    "plotly.js": "^1.58.1",
+    "plotly.js": "^1.58.2",
     "prismjs": "^1.21.0",
     "protobufjs": "^6.10.1",
     "query-string": "^6.13.1",
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index 2c35140ca813..ecc4b8e20cae 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -13393,10 +13393,10 @@ plist@^3.0.1:
     xmlbuilder "^9.0.7"
     xmldom "0.1.x"
 
-plotly.js@^1.58.1:
-  version "1.58.1"
-  resolved "https://registry.yarnpkg.com/plotly.js/-/plotly.js-1.58.1.tgz#07bfa39ffe25e0cfc966ef0a64caf39ec4d3f380"
-  integrity sha512-EzVx3Aipr7WyefMDHJFRtIkJKSI9fTTipGu5fQ17l5M5FzsDq+bdywhJ3Gy645el5QBPx5uzrY80JJbZTjYSQQ==
+plotly.js@^1.58.2:
+  version "1.58.2"
+  resolved "https://registry.yarnpkg.com/plotly.js/-/plotly.js-1.58.2.tgz#898a0c04908d7eee508d628eae017e1f4198930c"
+  integrity sha512-CQ1Fg50BafIeFs3PQ8D2byigrmn5UoOMJHgyLBcYoHxxQTI9L85xKl02EkiJxg7KJUgNr//Bt/yu8heAIy10XQ==
   dependencies:
     "@plotly/d3-sankey" "0.7.2"
     "@plotly/d3-sankey-circular" "0.33.1"

🙈 followup to https://github.com/streamlit/streamlit/pull/2417 ... we usually don't patch this quickly but it appears this was a buggier release than usual.