plotly / plotly.py

The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
https://plotly.com/python/
MIT License
16.06k stars 2.54k forks source link

Make get_plotlyjs public #637

Closed PhML closed 5 years ago

PhML commented 7 years ago

From the plot docstring:

include_plotlyjs (default=True) -- If True, include the plotly.js
    source code in the output file or string.
    Set as False if your HTML file already contains a copy of the plotly.js
    library.

This option is not really useful if we can not get the library in the HTML file in first place. It is just a matter of adding get_plotlyjs in the __init__ file of the offline module.

jonmmease commented 5 years ago

Thanks for the suggestion @PhML, this is being added for version 3.4.0 in #1246

jonmmease commented 5 years ago

Implemented in #1246