Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more features to include_plotlyjs #93

Open
Mo-Gul opened this issue Feb 1, 2022 · 0 comments
Open

add more features to include_plotlyjs #93

Mo-Gul opened this issue Feb 1, 2022 · 0 comments

Comments

@Mo-Gul
Copy link
Contributor

Mo-Gul commented Feb 1, 2022

In Python include_plotlyjs has some more features that I like very much. These are:

  1. When the value is true the plotly.min.js is included in the HTML file. Thus, it is self-contained.
  2. (A bit simplified) When the value is directory the plotly.min.js is copied to the given directory. Thus, no more action is needed by the user and one can show the HTML files offline.

See

https://github.com/plotly/plotly.py/blob/d281683eafe2efa55c596605b1e40d68b92973c9/packages/python/plotly/plotly/io/_html.py#L56-L87

for the documentation part of all the features and

https://github.com/plotly/plotly.py/blob/d281683eafe2efa55c596605b1e40d68b92973c9/packages/python/plotly/plotly/io/_html.py#L546-L551

for the implementation of item 2.

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

No branches or pull requests

1 participant