Jupyter Notebook 5.1.0 DocumentationAdding the following to ~/.jupyter/custom/custom.js will enable single-tab mode: define(['base/js/namespace'], function(Jupyter){ Jupyter._target = '_self'; }); 6.5 Known issues 6.5.1 Proxies When behind `my_fancy_module` directory src="static", # directory in the `nbextension/` namespace dest="my_fancy_module", # _also_ in the `nbextension/` namespace require="my_fancy_module/index")] def load_jupyter_server_extension(nbapp): the classes defined in the modules. The current instances are exposed by a module named base/js/namespace. If you plan on accessing instances on the page, you should require this module rather than accessing0 码力 | 128 页 | 1.72 MB | 1 年前3
Jupyter Notebook 5.0.0 DocumentationAdding the following to ~/.jupyter/custom/custom.js will enable single-tab mode: define(['base/js/namespace'], function(Jupyter){ Jupyter._target = '_self'; }); 6.5 Known issues 6.5.1 Proxies When behind `my_fancy_module` directory src="static", # directory in the `nbextension/` namespace dest="my_fancy_module", # _also_ in the `nbextension/` namespace require="my_fancy_module/index")] def load_jupyter_server_extension(nbapp): the classes defined in the modules. The current instances are exposed by a module named base/js/namespace. If you plan on accessing instances on the page, you should require this module rather than accessing0 码力 | 129 页 | 1.76 MB | 1 年前3
Jupyter Notebook 5.2.2 DocumentationAdding the following to ~/.jupyter/custom/custom.js will enable single-tab mode: define(['base/js/namespace'], function(Jupyter){ Jupyter._target = '_self'; }); 6.5 Known issues 6.5.1 Proxies When behind `my_fancy_module` directory src="static", # directory in the `nbextension/` namespace dest="my_fancy_module", # _also_ in the `nbextension/` namespace require="my_fancy_module/index")] def load_jupyter_server_extension(nbapp): the classes defined in the modules. The current instances are exposed by a module named base/js/namespace. If you plan on accessing instances on the page, you should require this module rather than accessing0 码力 | 129 页 | 1.73 MB | 1 年前3
Jupyter Notebook 5.0.0 DocumentationAdding the following to ~/.jupyter/custom/custom.js will enable single-tab mode: define(['base/js/namespace'], function(Jupyter){ Jupyter._target = '_self'; }); Known issues Proxies When behind a src="static", # directory in the `nbextension/` namespace dest="my_fancy_module", # _also_ in the `nbextension/` namespace require="my_fancy_module/index")] def load_jupy the classes defined in the modules. The current instances are exposed by a module named base/js/namespace. If you plan on accessing instances on the page, you should require this module rather than accessing0 码力 | 184 页 | 4.40 MB | 1 年前3
Jupyter Notebook 5.1.0 DocumentationAdding the following to ~/.jupyter/custom/custom.js will enable single-tab mode: define(['base/js/namespace'], function(Jupyter){ Jupyter._target = '_self'; }); Known issues Proxies When behind a src="static", # directory in the `nbextension/` namespace dest="my_fancy_module", # _also_ in the `nbextension/` namespace require="my_fancy_module/index")] def load_jupy the classes defined in the modules. The current instances are exposed by a module named base/js/namespace. If you plan on accessing instances on the page, you should require this module rather than accessing0 码力 | 184 页 | 4.36 MB | 1 年前3
Jupyter Notebook 4.x Documentationthe classes defined in the modules. The current instances are exposed by a module named base/js/namespace. If you plan on accessing instances on the page, you should require this module rather than accessing how to access the current notebook instance: // file my_extension/main.js define([ 'base/js/namespace' ], function( Jupyter ) { function load_ipython_extension() { console.log( restarts the kernel, and bind 0,0,0 in its place: // file my_extension/main.js define([ 'base/js/namespace' ], function( Jupyter ) { function load_ipython_extension() { Jupyter.keyboard_manager0 码力 | 128 页 | 1.86 MB | 1 年前3
Jupyter Notebook 5.2.2 DocumentationAdding the following to ~/.jupyter/custom/custom.js will enable single-tab mode: define(['base/js/namespace'], function(Jupyter){ Jupyter._target = '_self'; }); Known issues Proxies When behind a src="static", # directory in the `nbextension/` namespace dest="my_fancy_module", # _also_ in the `nbextension/` namespace require="my_fancy_module/index")] def load_jupy the classes defined in the modules. The current instances are exposed by a module named base/js/namespace. If you plan on accessing instances on the page, you should require this module rather than accessing0 码力 | 183 页 | 4.36 MB | 1 年前3
Jupyter Notebook 5.4.1 DocumentationAdding the following to ~/.jupyter/custom/custom.js will enable single-tab mode: define(['base/js/namespace'], function(Jupyter){ Jupyter._target = '_self'; }); 6.5 Known issues 6.5.1 Proxies When behind `my_fancy_module` directory src="static", # directory in the `nbextension/` namespace dest="my_fancy_module", # _also_ in the `nbextension/` namespace require="my_fancy_module/index")] def load_jupyter_server_extension(nbapp): the classes defined in the modules. The current instances are exposed by a module named base/js/namespace. If you plan on accessing instances on the page, you should require this module rather than accessing0 码力 | 134 页 | 1.77 MB | 1 年前3
Jupyter Notebook 5.5.0 Documentationyou to express dependency. For simple extension like the previous one we directly mute the global namespace, but for more complex extension you could pass a callback to require([...],) call, to the notebook document into memory 2. create an empty Module 3. execute every cell in the Module namespace Since IPython cells can have extended syntax, the IPython transform is applied to turn each of Adding the following to ~/.jupyter/custom/custom.js will enable single-tab mode: define(['base/js/namespace'], function(Jupyter){ Jupyter._target = '_self'; }); 9.3. Running the notebook with a customized 0 码力 | 143 页 | 1.81 MB | 1 年前3
Jupyter Notebook 5.4.0 DocumentationAdding the following to ~/.jupyter/custom/custom.js will enable single-tab mode: define(['base/js/namespace'], function(Jupyter){ Jupyter._target = '_self'; }); 6.5 Known issues 6.5.1 Proxies When behind `my_fancy_module` directory src="static", # directory in the `nbextension/` namespace dest="my_fancy_module", # _also_ in the `nbextension/` namespace require="my_fancy_module/index")] def load_jupyter_server_extension(nbapp): the classes defined in the modules. The current instances are exposed by a module named base/js/namespace. If you plan on accessing instances on the page, you should require this module rather than accessing0 码力 | 134 页 | 1.77 MB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













