matplotlib this and that

Introduction

A note on the details of matplotlib

Localizing into Japanese

First, install japanize-matplolib below

pip install japanize-matplotlib

Then add the following line when you want to use it

import japanize-matplotlib

Fine settings

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

log scale

plt.xscale('log')
plt.yscale('log')

Links I will list the sites that may be helpful. https://qiita.com/nkay/items/d1eb91e33b9d6469ef51

Recommended Posts

matplotlib this and that
This and that about pd.DataFrame
Zabbix API this and that
This and that learned from boost.python
This and that of python properties
This and that using NLTK (memo)
This and that of the inclusion notation.
This and that useful when used with nohup
This and that around Mysql in Apache environment (Note)
matplotlib gallery and color map
NumPy and matplotlib environment construction
This and that for using Step Functions with CDK + Python
Installation of SciPy and matplotlib (Python)
[Python] font family and font with matplotlib
[Notes / Updated from time to time] This and that of Azure Functions
[Note] Conflict between matplotlib and zstd
[Python / matplotlib] Understand and use FuncAnimation
matplotlib log scale display and grid display
Until you install and run matplotlib
Japanese settings for matplotlib and Seaborn axes
matplotlib image cannot be renamed and saved
A story that stumbled upon installing matplotlib
Separation of design and data in matplotlib
Graph trigonometric functions with numpy and matplotlib