概要
JupyterNotebookの背景色,セルサイズ,フォントサイズ,....
とりあえずいろんな設定したいけどどうすんのーー!!!
jupyterthemesで設定をいじる
jupyterthemesとやらでJupyterNotebookの設定をいじれるらしい.
とりあえずpipでjupyterthemesをインストール.
$ pip install jupyterthemes
あとはこんな感じで設定して,(おすすめの設定)
$ jt -t monokai -T -N -cellw 95% -tfs 11 -lineh 160 -ofs 10
ノートブックを開けば,
$ jupyter-notebook
今回使ったjtのオプション
引数 | オプション |
---|---|
-t | インストールするテーマ |
-T | ツールバー表示 |
-N | 名前とロゴ表示 |
-cellw | セルの横幅 |
-tfs | セルのフォントサイズ |
-lineh | 行の高さ |
-ofs | 出力のフォントサイズ |
いろんなオプションがあるので,上記以外のものが気になる人は見てみてください.
jupyterthemesの使い方