Jupyter Notebook 4.x Documentationipynb file represented by the model. See the NBFormat [https://nbformat.readthedocs.io/en/latest/index.html] documentation for a full description. file models The format field is either "text" or "base64" font-awesome class used on buttons, etc help : 'Show an alert', help_index : 'zz', handler : handler }; var prefix = 'my_extension'; var action_name this directory structure: - setup.py - MANIFEST.in - my_fancy_module/ - __init__.py - static/ index.js Defining the server extension and nbextension This example again shows that the server extension0 码力 | 128 页 | 1.86 MB | 1 年前3
Jupyter Notebook 5.0.0 Documentationn-Packages] Extending the Notebook [https://jupyter-notebook.readthedocs.io/en/latest/extending/index.html] Security in Jupyter notebooks: Since security policies vary from organization to organization this directory structure: - setup.py - MANIFEST.in - my_fancy_module/ - __init__.py - static/ index.js Defining the server extension and nbextension This example again shows that the server extension dest="my_fancy_module", # _also_ in the `nbextension/` namespace require="my_fancy_module/index")] def load_jupyter_server_extension(nbapp): nbapp.log.info("my module enabled!") Install and0 码力 | 184 页 | 4.40 MB | 1 年前3
Jupyter Notebook 5.5.0 DocumentationJupyter.keyboard_manager.command_shortcuts.add_shortcut('r', { help : 'run cell', help_index : 'zz', handler : function (event) { IPython.notebook.execute_cell(); return false; available via the keypress r.” There are a couple of points to mention about this API: The help_index field is used to sort the shortcuts in the Keyboard Shortcuts help dialog. It defaults to zz. When details about the event object or event handling, see the jQuery docs. If you don’t need a help or help_index field, you can simply pass a function as the second argument to add_shortcut. In [ ]: %%javascript0 码力 | 196 页 | 4.45 MB | 1 年前3
Jupyter Notebook 5.6.0 DocumentationJupyter.keyboard_manager.command_shortcuts.add_shortcut('r', { help : 'run cell', help_index : 'zz', handler : function (event) { IPython.notebook.execute_cell(); return false; available via the keypress r.” There are a couple of points to mention about this API: The help_index field is used to sort the shortcuts in the Keyboard Shortcuts help dialog. It defaults to zz. When details about the event object or event handling, see the jQuery docs. If you don’t need a help or help_index field, you can simply pass a function as the second argument to add_shortcut. In [ ]: %%javascript0 码力 | 198 页 | 4.45 MB | 1 年前3
Jupyter Notebook 5.7.6 Documentation%%javascript Jupyter.keyboard_manager.command_shortcuts.add_shortcut('r', { help : 'run cell', help_index : 'zz', handler : function (event) { IPython.notebook.execute_cell(); return false; available via the keypress r.” There are a couple of points to mention about this API: The help_index field is used to sort the shortcuts in the Keyboard Shortcuts help dialog. It defaults to zz. When details about the event object or event handling, see the jQuery docs. If you don’t need a help or help_index field, you can simply pass a function as the second argument to add_shortcut. [ ]: %%javascript0 码力 | 204 页 | 4.45 MB | 1 年前3
Jupyter Notebook 5.7.3 Documentation%%javascript Jupyter.keyboard_manager.command_shortcuts.add_shortcut('r', { help : 'run cell', help_index : 'zz', handler : function (event) { IPython.notebook.execute_cell(); return false; available via the keypress r.” There are a couple of points to mention about this API: The help_index field is used to sort the shortcuts in the Keyboard Shortcuts help dialog. It defaults to zz. When details about the event object or event handling, see the jQuery docs. If you don’t need a help or help_index field, you can simply pass a function as the second argument to add_shortcut. [ ]: %%javascript0 码力 | 203 页 | 4.45 MB | 1 年前3
Jupyter Notebook 5.7.2 DocumentationJupyter.keyboard_manager.command_shortcuts.add_shortcut('r', { help : 'run cell', help_index : 'zz', handler : function (event) { IPython.notebook.execute_cell(); return false; available via the keypress r.” There are a couple of points to mention about this API: The help_index field is used to sort the shortcuts in the Keyboard Shortcuts help dialog. It defaults to zz. When details about the event object or event handling, see the jQuery docs. If you don’t need a help or help_index field, you can simply pass a function as the second argument to add_shortcut. In [ ]: %%javascript0 码力 | 203 页 | 4.45 MB | 1 年前3
Jupyter Notebook 5.7.5 Documentation%%javascript Jupyter.keyboard_manager.command_shortcuts.add_shortcut('r', { help : 'run cell', help_index : 'zz', handler : function (event) { IPython.notebook.execute_cell(); return false; available via the keypress r.” There are a couple of points to mention about this API: The help_index field is used to sort the shortcuts in the Keyboard Shortcuts help dialog. It defaults to zz. When details about the event object or event handling, see the jQuery docs. If you don’t need a help or help_index field, you can simply pass a function as the second argument to add_shortcut. [ ]: %%javascript0 码力 | 204 页 | 4.45 MB | 1 年前3
Jupyter Notebook 5.7.0 DocumentationJupyter.keyboard_manager.command_shortcuts.add_shortcut('r', { help : 'run cell', help_index : 'zz', handler : function (event) { IPython.notebook.execute_cell(); return false; available via the keypress r.” There are a couple of points to mention about this API: The help_index field is used to sort the shortcuts in the Keyboard Shortcuts help dialog. It defaults to zz. When details about the event object or event handling, see the jQuery docs. If you don’t need a help or help_index field, you can simply pass a function as the second argument to add_shortcut. In [ ]: %%javascript0 码力 | 203 页 | 4.45 MB | 1 年前3
Jupyter Notebook 5.7.1 DocumentationJupyter.keyboard_manager.command_shortcuts.add_shortcut('r', { help : 'run cell', help_index : 'zz', handler : function (event) { IPython.notebook.execute_cell(); return false; available via the keypress r.” There are a couple of points to mention about this API: The help_index field is used to sort the shortcuts in the Keyboard Shortcuts help dialog. It defaults to zz. When details about the event object or event handling, see the jQuery docs. If you don’t need a help or help_index field, you can simply pass a function as the second argument to add_shortcut. In [ ]: %%javascript0 码力 | 203 页 | 4.45 MB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













