background theme for jupuyter
1. Background theme installation View available themes
1. Theme installation
Win+r enter cmd
installation command:
pip install jupyterthemes
2. View available themes
jt -l
It can be seen that there are a total of 9 themes, namely
chesterish
grade3
gruvboxd
gruvboxl
monokai
oceans16
onedork
solarizedd
solarizedl
3. Change the theme, font and other settings
Take the theme monkokai as an example
jt -t monokai -f fira -fs 16 -cellw 94% -ofs 14 -dfs 14 -T -N
- monnkai: theme to be replaced
- -f : font option, fira is the font I want to use
- -fs 16 is font size 16
- -cellw (screen ratio or width)
- -ofs (font size of output section)
- -T (show toolbar)
- -N (display your own host name)
effect is as follows:
4. Other commands to restore the original theme
- restore original theme
jt -r
- markdown automatically adapts
jt -altmd
2. The effect of each theme
1.chesterish
jt -t oceans16 -f fira -fs 16 -cellw 96% -ofs 14 -dfs 14 -T
2. grade3
3.mine boxd
4.oceans16
5.onedork
6.solarizedd
7.solarizedl
Reference article: jupyter change font