JupyterLab 3.4.0 Release
Here are the new cool features available in JupyterLab 3.4.0.
The full changelog is available there.
Cell toolbar
This version adds a cell toolbar.
That toolbar is displayed for the current active cell if it does not overlap with the content.
New tab button
There is now a new tab button in the dock panel tab bars.
Themed Vega Figure
The Vega figures will now respect the theme mode (light or dark).
Settings Editor
The settings editor is now displaying the default value if the current value is a customized value.
Context menu order
The context menu ordering has been updated to move Paste
closer to Cut
and Copy
.
Old context menu on the left, new context menu on the right
6 Likes
This looks great! Really like the cell toolbar and new tab button.
Is there also an easy way to add you own button to the cell toolbar through an extension? Tutorial available / in the making?
Thanks!
Hey @ivgent
Here is gist with customization example of menus and toolbars: JupyterLab custom menu ยท GitHub
It adds a clear output button in the cell toolbar:
The relevant setting is:
"@jupyterlab/cell-toolbar-extension:plugin": {
"toolbar": [
{ "name": "clear-output", "command":"notebook:clear-cell-output", "icon": "ui-components:close" }
]
}
This is the Cell Toolbar settings section
The available commands is not in the stable documentation. But you can have a look a the dev documentation (most of them are available in 3.4): Commands โ JupyterLab 4.1.0a4 documentation
1 Like