extension.js 524 B

12345678910111213141516171819
  1. // This file contains the javascript that is run when the notebook is loaded.
  2. // It contains some requirejs configuration and the `load_ipython_extension`
  3. // which is required for any notebook extension.
  4. // Configure requirejs
  5. if (window.require) {
  6. window.require.config({
  7. map: {
  8. "*" : {
  9. "plotlywidget": "nbextensions/plotlywidget/index"
  10. }
  11. }
  12. });
  13. }
  14. // Export the required load_ipython_extention
  15. module.exports = {
  16. load_ipython_extension: function() {}
  17. };