LoginSignup
5
7

More than 3 years have passed since last update.

seabornで画像を保存する

Posted at

バージョン

seaborn: 0.9.0

seabornで画像を保存する

seabornで画像を保存したい場合

line_plot = sns.lineplot()
figure = line_plot.get_figure()
figure.savefig(save_path)

のように、プロットオブジェクトから図オブジェクトを取り出し、そしてそれを保存すると良いです。

5
7
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
5
7