Help us understand the problem. What is going on with this article?

[MacOS]Jupyterテーマ変更&アウトプット表示が見切れる問題対処方法

More than 1 year has passed since last update.

はじめに

以下のOSに対してのJupyterNotebookのテーマ変更方法および、
アウトプットの表示が見切れてしまう問題への対処方法となります。

OS:Mac OS Mojave

1.Jupyter Notebookのテーマを変更

参考
Jupyterのレイアウトを変える方法

1-1. Terminalでコマンドにより好きなテーマに変更

jt -t onedork -fs 95 -tfs 11 -nfs 115 -cellw 95% -T -N

2.隠しフォルダの表示

2-1. /Users/{ユーザー名} のディレクトリに移動

2-2. FinderでCommandキー + Shiftキー + ドット(.)を押下

3.CSSファイルを編集

3-1. ~/.jupyter/custom/custom.cssに移動

3-2. CSSファイルの以下の箇所を編集

div.output_subarea {
 overflow-x: auto;
 padding: 1.8em !important;  /* もともとコレ padding: 0.8em !important;*/
 -webkit-box-flex: 1;
 -moz-box-flex: 1;
 box-flex: 1;
 flex: 1;
}

参考
Jupyter notebookのthemeを変えたら出力セルが見切れる件

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away