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


The Experience AI Challenge
28/03/2024

The Raspberry Pi Foundation in collaboration with Google DeepMind has announced the Experience AI Challenge. Its intention is to guide young people under the age of 18, and their mentors, through [ ... ]



Is PHP in Trouble?
10/04/2024

The April 2024 headline for the TIOBE Index, which ranks programming languages in terms of their popularity, reads, "Is PHP losing its mojo" asking this question because this month PHP has dropped out [ ... ]


More News

 

raspberry pi books

 

Comments




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

Last Updated ( Thursday, 06 April 2017 )