Skip to content

Conversation

jonmmease
Copy link
Contributor

Small update to HTML export logic inspired by question in #1602. The HTML generated by plotly.offline.plot/plotly.io.write_html is fully offline (no way to share data with cloud servers) by default. But even though the buttons/links to share data are disabled by default, the https://plot.ly URL was still included in the exported HTML.

For peace of mind, this PR only includes the Chart Studio base URL (e.g. https://plot.ly) if the user overrides the defaults to turn on the showLink or sendToCloud config options.

@jonmmease jonmmease merged commit 7b6fad9 into v4_integration Jun 19, 2019
@nicolaskruchten nicolaskruchten deleted the v4_remove_plot_ly_url_when_not_needed branch June 19, 2020 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant