A note on the details of matplotlib
First, install japanize-matplolib below
pip install japanize-matplotlib
Then add the following line when you want to use it
import japanize-matplotlib
Settings to improve the appearance
plt.rcParams['font.family'] = 'Times New Roman'
plt.rcParams['font.size'] = 20
plt.rcParams['xtick.labelsize'] = 15
plt.rcParams['ytick.labelsize'] = 15
plt.xscale('log')
plt.yscale('log')
Links I will list the sites that may be helpful. https://qiita.com/nkay/items/d1eb91e33b9d6469ef51
Recommended Posts