Jupyter Notebook 5 Adds Cell Tagging
Written by Kay Ewbank   
Thursday, 06 April 2017

Version 5.0 of Jupyter Notebook is the first major release since the 'big split' of IPython and Jupyter. It dds cell tagging, customizing keyboard shortcuts, and copying & pasting cells between notebooks.

jupyterlogo

Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text.

The addition of cell tagging gives you a lightweight way to customize the behavior of tools working with notebooks. The developers are building support for cell tags into tools like nbconvert and nbval. The developers said back in January that:

"We know there's a lot more that can be done with the cell tagging UI, but we've been putting off doing it for ages because of making a good UI for it. So Vidar suggested, and I agreed, that he builds a minimal working UI to put into notebook 5.0 (which I hope will be soon) so that we can start playing with tags, and enhance it later."

 

So while this first incarnation is fairly minimal, it should get better in later versions.

celltags

 

The ability to customize keyboard shortcuts is another area of improvement. This ability has actually been available since IPython 2.0, but meant you had to edit your custom.js. You can now edit keyboard shortcuts using a dialog in the Help menu, and support is available for both emacs-like (multiple keys at once) and vim-like (sequence of key) shortcuts.

There's a new detault Table style that is described as "more compact and subtle and consistent with JupyterLab".

Among the other improvements, markdown cells now support attachments, and you can add the attachment by dragging and dropping an image from your desktop to a markdown cell to add it.

Undoing cell deletion now supports undeleting multiple cells, though cells might be undeleted in a different order from the way they were before deletion, depending on the actions you did on the meantime.

 

jupyterlogo

 

 

More Information

Project Jupyter

Related Articles

Jupyter 4 Completed By Release Of IPython 4 

IPython 5.0-LTS Released

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

 

Banner


Swimm Releases Copilot Extension For Documentation
03/12/2024

Swimm, best known for its AI-driven software documentation tools, has announced an extension for GitHub Copilot. The Swimm team says the extension means developers using GitHub Copilot Chat can turn C [ ... ]



Copilot Improves Code Quality
27/11/2024

Findings from GitHub show that code authored with Copilot has increased functionality and improved readability, is of better quality, and receives higher approval rates than code authored without it.

 [ ... ]


More News

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Thursday, 06 April 2017 )