-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: clean up html_body(::JuptyerPlot)
- use requirejs.specified to see if 'plotly' dep is defined. If so, use it - Only unload plot data and json once and reuse in both cdn and local based Plotly.newPlot - wrap plot code in anonymous function so unpacked data and layout variables don't become globally defined
- Loading branch information
Showing
1 changed file
with
34 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters