1.安装 jupyter 插件Nbextensions
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
2.勾选 “Table of Contents” 以及 “Hinterland”

3.安装主题
pip install jupyterthemes
jt -l ## 列出安装的主题

4.应用主题
jt -t grade3 -T -f source -fs 14
##使用grade3主题 ,-t 是设置主题,-T 显示工具栏, -nf 设置notebook的字体。
## -f 设置代码的字体,指定代码的字体为"source"字体,字号14
本文介绍如何安装和配置Jupyter的Nbextensions插件和主题,包括使用pip安装Nbextensions,启用TableofContents和Hinterland功能,以及安装和应用jupyterthemes中的grade3主题。
2776

被折叠的 条评论
为什么被折叠?



