From 836c34acc370869d90585ac11563336a182bff6c Mon Sep 17 00:00:00 2001 From: Emily KL <4672118+emilykl@users.noreply.github.com> Date: Wed, 13 May 2026 16:50:47 -0400 Subject: [PATCH 1/2] update config keys to match plotly.js 3.5.0 --- plotly/offline/offline.py | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/plotly/offline/offline.py b/plotly/offline/offline.py index 615202f357..c2843aa461 100644 --- a/plotly/offline/offline.py +++ b/plotly/offline/offline.py @@ -106,25 +106,29 @@ def _build_mathjax_script(url): def _get_jconfig(config=None): configkeys = ( "staticPlot", + "typesetMath", "plotlyServerURL", "editable", "edits", + "editSelection", "autosizable", "responsive", - "queueLength", "fillFrame", "frameMargins", "scrollZoom", "doubleClick", - "showTips", + "doubleClickDelay", "showAxisDragHandles", "showAxisRangeEntryBoxes", + "showTips", + "displayNotifier", "showLink", - "sendData", - "showSendToCloud", "linkText", + "sendData", "showSources", "displayModeBar", + "showSendToCloud", + "showEditInChartStudio", "modeBarButtonsToRemove", "modeBarButtonsToAdd", "modeBarButtons", @@ -136,10 +140,10 @@ def _get_jconfig(config=None): "topojsonURL", "mapboxAccessToken", "logging", - "globalTransforms", + "notifyOnLogging", + "queueLength", "locale", - "locales", - "doubleClickDelay", + "locales" ) if config and isinstance(config, dict): From a6be16200aaf872b4d7db21d1391a320641f5eea Mon Sep 17 00:00:00 2001 From: Emily KL <4672118+emilykl@users.noreply.github.com> Date: Wed, 13 May 2026 17:27:24 -0400 Subject: [PATCH 2/2] formatting --- plotly/offline/offline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotly/offline/offline.py b/plotly/offline/offline.py index c2843aa461..f9093e7b11 100644 --- a/plotly/offline/offline.py +++ b/plotly/offline/offline.py @@ -143,7 +143,7 @@ def _get_jconfig(config=None): "notifyOnLogging", "queueLength", "locale", - "locales" + "locales", ) if config and isinstance(config, dict):