Jupyter is convenient. After seeing Jupyter Notebook to my own specifications: Changing background and icons, I definitely wanted to change the background color. However, it is troublesome to play with CSS by myself, so I searched for an easy way to do it.
It seems easy to do with jupyter-themes.
% pip install jupyterthemes
% jt -h
usage: jt [-h] [-l] [-t THEME] [-f MONOFONT] [-fs MONOSIZE] [-nf NBFONT]
[-nfs NBFONTSIZE] [-tf TCFONT] [-tfs TCFONTSIZE] [-m MARGINS]
[-cursw CURSORWIDTH] [-cursc CURSORCOLOR] [-cellw CELLWIDTH]
[-lineh LINEHEIGHT] [-alt] [-vim] [-T] [-N] [-r]
optional arguments:
-h, --help show this help message and exit
-l, --list list available themes
-t THEME, --theme THEME
theme name to install
-f MONOFONT, --monofont MONOFONT
monospace code font
-fs MONOSIZE, --monosize MONOSIZE
code font-size
-nf NBFONT, --nbfont NBFONT
notebook font
-nfs NBFONTSIZE, --nbfontsize NBFONTSIZE
notebook fontsize
-tf TCFONT, --tcfont TCFONT
txtcell font
-tfs TCFONTSIZE, --tcfontsize TCFONTSIZE
txtcell fontsize
-m MARGINS, --margins MARGINS
fix margins of main intro page
-cursw CURSORWIDTH, --cursorwidth CURSORWIDTH
set cursorwidth (px)
-cursc CURSORCOLOR, --cursorcolor CURSORCOLOR
cursor color (r, b, g, p)
-cellw CELLWIDTH, --cellwidth CELLWIDTH
set cell width (px)
-lineh LINEHEIGHT, --lineheight LINEHEIGHT
code/text line-height (%)
-alt, --altlayout alt markdown layout
-vim, --vimext toggle styles for vim
-T, --toolbar make toolbar visible
-N, --nbname nb name/logo visible
-r, --reset reset to default theme
% jt -l
Available Themes:
chesterish
grade3
oceans16
onedork
% jt -t onedork
You are using Python 3.5
only versions 2.7, 3.3, 3.4 support custom settings
Installing onedork theme with default settings
It seems that there are some functions that cannot be used with Python 3.5, but the color has changed for the time being, so I will try using it for a while.
Recommended Posts