LoginSignup
0
0

pip install して import するだけで matplotlib をハングル表示対応させる

Posted at

matplotlibの豆腐問題はハングルでも起こります。
実はjapanize-matplotlibの韓国語バージョンが存在しています。

pip install koreanize-matplotlib
import matplotlib.pyplot as plt
import koreanize_matplotlib

plt.plot([-1, 0, 1, 2])
plt.title('그래프 제목', fontweight="bold")
plt.xlabel('간단한 그래프')
plt.show()

image.png

こうやって世の中が便利に少しずつ便利になっていく...ありがたいです

参考など

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