This article recommends 16 plugins for Jupyter Notebook.

  • Configure the Python environment on Linux and Windows using Anaconda
  • Conda | Python packages and version management tool
  • Playing with Jupyter Notebook- introduction

In this paper, quick reference

Window facets: ScratchpadMarkdown Text highlighting: HighlighterCell marking and locking: RuntoolsCode folding: Code foldingExample, document quick to get: Snippets menuPEP8 Code PrettifyCode completion: HinterlandDisplay line numbers: Toggle all line numbersTable of Contents (2)5. Collapsible headingFile filtering: Tree FilterCode Font Size shrinksCharacter Highlight: Highlight selected WordShortcut Editor: Keyboard Shortcut EditorEdit mode switch: Select CodeMirror KeymapVariable collection float window: Variable InspectorCopy the code

Plug-in installation

pip install jupyter_contrib_nbextensions -i https://pypi.tuna.tsinghua.edu.cn/simple
jupyter contrib nbextension install --user
pip install jupyter_nbextensions_configurator -i 
Copy the code

After the above three steps are complete, restart the Jupyter Notebook. If the following information appears, the installation is complete.Here are some personal plugins that I find useful:


Window facets: Scratchpad

A new window is very useful in data analysis, such as when you draw a graph and want to see the graph data against the graph, or to see the effect of the modified parameters. ** Shortcut keys: **Ctrl +B key


Markdown Text highlighting: Highlighter

Highlight the selected text in the Markdown cell.

%%javascript
require("base/js/utils").load_extensions("highlighter/highlighter")
Copy the code


Cell marking and locking: Runtools

This plugin is a nice complement to the default Cell. Let’s take a look at what the Cell does:Runtools highlights several useful features, in particularMark and lock cells.



Code folding: Code folding

Code folding,


Document quick get: Snippets Menu

Quickly add Python, examples of common modules, documents, and so on.


PEP8 specification optimization Code: Code Prettify

According to the PEP8 Python coding specification: PEP8 — Style Guide for Python Code beautifies the Code and relies on the YAPF module developed by Google.

pip install yapf -i  https://pypi.tuna.tsinghua.edu.cn/simple 
Copy the code


Code completion: Hinterland

Automatic code completion.


Display line numbers: Toggle all line numbers

Displays line numbers.By default, the Jupyter Notebook provides the line number setting function


Table of Contents (2)

Add a directory to the notebook


5. Collapsible heading

The notebook collapses by title


File filtering: Tree Filter

File filtering.


Code Font Size shrinks

Code block font zoom out.


Character Highlight: Highlight selected Word

Highlight the selected character.


Shortcut Editor: Keyboard Shortcut Editor

Edit and delete existing shortcut keys; Add new shortcut keys.


Edit mode switch: Select CodeMirror Keymap

If you’re used to using Emacs, Vim, and Sublime, this plugin is for you.


Variable collection float window: Variable Inspector

Use the float window table to collect variable information in the Notebook.


Reference: github.com/ipython-con…

Welcome to pythonic Bioman

This article is formatted using MDNICE