Skip to content

Commit 9789ab0

Browse files
jeffreypriebejonmmease
authored andcommitted
Add configkeys to offline matching plotly js 1.39.2 (#1056)
* Add configkeys to offline matching plotly js 1.39.2
1 parent dc2cc5e commit 9789ab0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: plotly/offline/offline.py

+12
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,19 @@ def _plot_html(figure_or_data, config, validate, default_width,
179179
cls=utils.PlotlyJSONEncoder)
180180

181181
configkeys = (
182+
'staticPlot'
183+
'plotlyServerURL',
182184
'editable',
185+
'edits',
183186
'autosizable',
187+
'queueLength'
184188
'fillFrame',
185189
'frameMargins',
186190
'scrollZoom',
187191
'doubleClick',
188192
'showTips',
193+
'showAxisDragHandles',
194+
'showAxisRangeEntryBoxes',
189195
'showLink',
190196
'sendData',
191197
'linkText',
@@ -194,10 +200,16 @@ def _plot_html(figure_or_data, config, validate, default_width,
194200
'modeBarButtonsToRemove',
195201
'modeBarButtonsToAdd',
196202
'modeBarButtons',
203+
'toImageButtonOptions',
197204
'displaylogo',
198205
'plotGlPixelRatio',
199206
'setBackground',
200207
'topojsonURL'
208+
'mapboxAccessToken',
209+
'logging',
210+
'globalTransforms'
211+
'locale',
212+
'locales',
201213
)
202214

203215
config_clean = dict((k, config[k]) for k in configkeys if k in config)

0 commit comments

Comments
 (0)