LoginSignup
0
0

More than 5 years have passed since last update.

Jupyter Notebookで描画したチャート内の日本語が文字化けしてしまうときの対処方法

Posted at

ipython_kernel_config.pyに以下の内容を追記する。

  • ファイルが存在しない場合は新たに作成してしまって良い。
vi ~/.ipython/profile_default/ipython_kernel_config.py
ipython_kernel_config.py
c.InlineBackend.rc = {
    'font.size': 11,
    'font.family': 'Osaka',
    'figure.figsize': (6.0, 4.0),
    'savefig.dpi': 80,
    'axes.titlesize': 12
}
c.InlineBackend.figure_formats = set(['png', 'retina'])
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0