Skip to content

Commit b612860

Browse files
committed
fixed Export message
1 parent f8b88fe commit b612860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/offline/offline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ def _plot_html(figure_or_data, config, validate, default_width,
219219
)
220220

221221
config_clean = dict((k, config[k]) for k in configkeys if k in config)
222-
223222
jconfig = json.dumps(config_clean)
224223

225224
# TODO: The get_config 'source of truth' should
@@ -234,6 +233,7 @@ def _plot_html(figure_or_data, config, validate, default_width,
234233
.replace('http://', '')
235234
link_text = config['linkText'].replace('plot.ly', link_domain)
236235
config['linkText'] = link_text
236+
jconfig = jconfig.replace('Export to plot.ly', link_text)
237237

238238
if 'frames' in figure_or_data:
239239
script = '''

0 commit comments

Comments
 (0)