You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, to show plot on a webpage, plot calculated JSON strings with meta/data of plot and inserts this data into HTML, which then will be shown to the user.
We need to make this process more flexible to allow users to calculate JSON data for plot separately from the whole show() logic.
Use Case
To embed plot into an already existent web page or use it wherever else.
Proposed Solution
Currently, as an experiment, I just modified plotly() method, made it public, and made it only return needed strings instead of the HTML code of the whole page.
Describe the feature
Currently, to show plot on a webpage,
plot
calculated JSON strings with meta/data of plot and inserts this data into HTML, which then will be shown to the user.We need to make this process more flexible to allow users to calculate JSON data for plot separately from the whole
show()
logic.Use Case
To embed plot into an already existent web page or use it wherever else.
Proposed Solution
Currently, as an experiment, I just modified
plotly()
method, made it public, and made it only return needed strings instead of the HTML code of the whole page.This should be done in a smarter and better way
Other Information
No response
Acknowledgements
Version used
6904d72
Environment details (OS name and version, etc.)
Not related
The text was updated successfully, but these errors were encountered: