LoginSignup
2
3

More than 5 years have passed since last update.

今夜どうにかしたいSeabornの見た目

Posted at

完全に自分用のメモ。

sns.set_style("white") # 大まかな見た目を変える。詳しくはリンク1
 sns.set_context("notebook", font_scale=1.7) #  大体のサイズとか用途(論文用とか、発表用とか)とかを決める。フォントのサイズを一括変換するのもここ。詳しくはリンク2
#plt.rcParams["figure.figsize"] = 12, 9 # 12インチx9インで出力
#plt.rcParams["figure.dpi"] = 200 # 出力時の解像度
plt.rcParams["savefig.dpi"] = 500 # 保存時の解像度

参考にさせていただいたurl
http://kg15m.hatenablog.com/entry/2016/07/31/140643

リンク1
https://seaborn.pydata.org/tutorial/aesthetics.html
リンク2
http://seaborn.pydata.org/generated/seaborn.set_context.html

2
3
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
2
3