Jupyter Notebook Extension
Published Feb 7, 2025
Contribute to Docs
Jupyter Notebook extensions are add-ons that enhance the functionality of the Jupyter Notebook interface. They allow users to customize and improve their experience by adding various features.
Examples of Jupyter Notebook Extensions
- Code Folding: The
jupyter_fold
extension helps users focus on specific sections by enabling code cells to be folded and unfolded. - Spellchecking: The
spellchecker
extension highlights misspelt words in both code and Markdown cells. - Table of contents: The
toc
extension automatically generates a table of contents based on Markdown headers, improving navigation within a notebook.
Installing Jupyter Notebook extensions
The Jupyter Notebook extensions are available through the open-source package jupyter_contrib_nbextensions
. This Python package provides several unofficial extensions designed to enhance Jupyter Notebook’s capabilities.
To install it, run the following command:
pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install --user
To add the nbextensions
to the Jupyter server’s search directory, use:
jupyter contrib nbextension install
Enabling/Disabling Extensions
After installation, users need to enable specific extensions like this:
jupyter nbextension enable <extension-name>
And to disable:
jupyter nbextension disable <extension-name>
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn Data Science on Codecademy
- Career path
Machine Learning/AI Engineer
Machine Learning/AI Engineers build end-to-end ML applications and power many of the apps we use every day. They work in Python, Git, & ML.Includes 7 CoursesWith CertificateIntermediate50 hours - Skill path
Visualize Data with Python
Learn to make effective data visualizations in Python with Matplotlib and Seaborn.Includes 6 CoursesWith CertificateBeginner Friendly8 hours