Add Plotly output support to notebooks

With this change, Plotly types will be successfully rendered in a Notebook.
Currently they have a default width of 700px with a scrollbar if the window size is smaller (this matches other notebook viewers).
The Plotly library is dynamically required to avoid startup time perf hits. This is something we could look at for other components too.
This commit is contained in:
Kevin Cunnane
2019-07-02 18:08:38 -07:00
committed by GitHub
parent 8c4f6f9e5f
commit cc6dea0631
8 changed files with 1631 additions and 3 deletions

View File

@@ -121,7 +121,8 @@ exports.load = function (modulePaths, resultCallback, options) {
'rxjs/Subject',
'rxjs/Observer',
'htmlparser2',
'sanitize'
'sanitize',
'plotly.js-dist'
]);
// {{SQL CARBON EDIT}} - End