0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

seaborn,pairplot日本語で出力する。

Posted at

結構前にseabornでpairplotを行なった際にラベル名が日本語でなくて文字化けしてしまうことがありました。その解決法について共有できたらと思います。

##解決方法について


import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt

真ん中のコードが鍵。
             
参考させて頂いたサイト

https://stackoverflow.com/questions/56656777/userwarning-matplotlib-is-currently-using-agg-which-is-a-non-gui-backend-so

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?