import matplotlib.pyplot as plt
# フォント設定
plt.rcParams['font.family'] = 'Hiragino Sans'
# 太さ設定
plt.rcParams['font.weight'] = 'bold'
macOSでJupyter Notebook上でmetaplotlibでプロットすると日本語フォントが文字化けするときの対応
Posted at
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme