清華鏡像下安裝Nbextensions
Nbextensions 有很多好用的擴展功能,比如顯示目錄,顯示程式執行時間(Execute Time),美化格式(Code prettify),代碼折疊(Codefolding)等,
但是直接安裝比較慢,我們利用鏡像安裝,
在終端執行:
pip install jupyter_contrib_nbextensions -i https://pypi.tuna.tsinghua.edu.cn/simple/
關閉 jupyter notebook,在終端運行
jupyter contrib nbextension install --user --skip-running-check
執行以上兩個步驟無誤后,啟動 Jupyter Notebook,上面選項欄會出現 Nbextensions 的選項

點開上面的√,就可以對下面的內容進行操作,

勾選其中的 Table of Contents(2)選項;

Nbextensions的使用
可以看這篇文章
《jupyter擴展插件Nbextensions使用》
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/258955.html
標籤:python
