Jupyter Notebook Simple Configuration
Install theme The default theme is too ugly; I have to switch to a nicer-looking one. Install with pip: pip install jupyterthemes After installation: # 列出所有主题 jt -l # 设置主题 # -T 启用工具栏 # -N 启用名称栏 jt -t 主题名称 -T -N Autocomplete Install nbextensions pip install jupyter_contrib_nbextensions jupyter contrib
目录5 个章节
Install Theme
The default theme is too ugly; I have to switch to a nicer-looking one. Install with pip:
pip install jupyterthemes
After installation:
# 列出所有主题
jt -l
# 设置主题
# -T 启用工具栏
# -N 启用名称栏
jt -t 主题名称 -T -N
Autocomplete
Install nbextensions
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
Install nbextensions_configurator
pip install --user jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
- After restarting Jupyter Notebook, you'll see an extra Nbextensions tab.

- Enable the plugin:

That's it~
Here's my interface

_EOF_
Jupyter Notebook Simple Configuration
- 本文作者:
- 程序设计实验室
- 版权声明:
- 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
相关文章
Python实现从Excel生成Model和导入脚本
前言 最近遇到一个需求,有几十个Excel,每个的字段都不一样,然后都差不多是第一行是表头,后面几千上万的数据,需要把这些Excel中的数据全都加入某个已经上线的Django项目 这就需要每个Excel建个表,然后一个个导入了 这样的效率太低,不能忍 所以我造了个自动生成 Model 和导入脚本的轮子 思路 首先拿出 pandas,它的 DataFrame 用来处理数据很方便 pandas 加载
2022-11-22 · Python · 约 1 分钟
Python网络请求库,从 requests 到 httpx
Requests早该退休了,httpx这老古董才配活在异步时代?HTTP/2和超时?这些基本配置requests早该有。异步支持原生?别逗了,这年头谁还用同步。
2026-03-27 · Python · 约 1 分钟
使用Python3新特性类型注解提高代码可读性
先看代码 def add(x: int, y: int) - int: return x + y 没用过类型注解(Type Annotations)的同学可能咋一看有点迷糊,其实上面这段代码和下面这个代码是一样的。 def add(x, y): return x + y 类型注解介绍 我们知道 Python 是一种动态语言,变量以及函数的参数是不区分类型。 Python解释器会在运
2022-05-27 · Python · 约 1 分钟
升级pip之后连pip都不能用了?简单解决方法
前言 最近在服务器上部署项目的时候,用pip安装库,结果提示可以升级,那我就按照提示升级了pip,结果pip就用不了了。 错误信息如下: Traceback (most recent call last): File /usr/bin/pip3, line 9, in module from pip import main ImportError: cannot import name
2021-12-18 · Python · 约 1 分钟
讨论
共 0 条加载评论中…