LoginSignup
18
14

More than 5 years have passed since last update.

matplotlibのグラフをRetinaの高解像度で表示する方法

Posted at

一時的な設定

2通りの方法がある。
設定方法1の方が簡単だけど、IPython 2.0のリリース時点ですでにDeprecated。

notebook
# 設定方法1 (Deprecated)
%config InlineBackend.figure_format = 'retina'

# 設定方法2
%config InlineBackend.figure_formats = {'png', 'retina'}

設定ファイル

~/.ipython/profile_default/ipython_kernel_config.pyに下の1行を書いておく。

ipython_kernel_config.py
c.InlineBackend.figure_formats = {'png', 'retina'}

参考リンク

2.x Series — IPython 6.1.0 documentation

18
14
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
18
14