[Python] font family and font with matplotlib

answer

plt.rcParams['font.family'] = 'Times New Roman'

plt.rcParams['font.size'] = 14

Now you can change the font family to times new roman and the font size to 14px.

By doing this, you can use the graph drawn by matplotlib as it is with Soron.

Recommended Posts

[Python] font family and font with matplotlib
Heatmap with Python + matplotlib
Programming with Python and Tkinter
Python and hardware-Using RS232C with Python-
python with pyenv and venv
Works with Python and R
Communicate with FX-5204PS with Python and PyUSB
Shining life with Python and OpenCV
Create plot animation with Python + Matplotlib
A python graphing manual with Matplotlib.
Robot running with Arduino and python
Install Python 2.7.9 and Python 3.4.x with pip.
Neural network with OpenCV 3 and Python 3
Installation of SciPy and matplotlib (Python)
Scraping with Node, Ruby and Python
[Python / matplotlib] Understand and use FuncAnimation
Perform isocurrent analysis of open channels with Python and matplotlib
Scraping with Python, Selenium and Chromedriver
[Python] Read the csv file and display the figure with matplotlib
Scraping with Python and Beautiful Soup
Let's create a PRML diagram with Python, Numpy and matplotlib.
JSON encoding and decoding with python
Hadoop introduction and MapReduce with Python
[GUI with Python] PyQt5-Drag and drop-
Reading and writing NetCDF with Python
I played with PyQt5 and Python3
Heatmap with Dendrogram in Python + matplotlib
Easy Japanese font setting with matplotlib
Reading and writing CSV with Python
Multiple integrals with Python and Sympy
Draw Lyapunov Fractal with Python, matplotlib
When matplotlib doesn't work with python2.7
Coexistence of Python2 and 3 with CircleCI (1.0)
Easy modeling with Blender and Python
Lognormal probability plot with Python, matplotlib
Sugoroku game and addition game with python
FM modulation and demodulation with Python
Communicate between Elixir and Python with gRPC
Data pipeline construction with Python and Luigi
Calculate and display standard weight with python
Monitor Mojo outages with Python and Skype
[Python] Set the graph range with matplotlib
FM modulation and demodulation with Python Part 3
[Automation] Manipulate mouse and keyboard with Python
Passwordless authentication with RDS and IAM (Python)
Python installation and package management with pip
Using Python and MeCab with Azure Databricks
POST variously with Python and receive with Flask
Capturing images with Pupil, python and OpenCV
Fractal to make and play with Python
A memo with Python2.7 and Python3 on CentOS
Use PIL and Pillow with Cygwin Python
Create and decrypt Caesar cipher with python
CentOS 6.4 with Python 2.7.3 with Apache with mod_wsgi and Django
Reading and writing JSON files with Python
Dealing with "years and months" in Python
[Python] Let's make matplotlib compatible with Japanese
I installed and used Numba with Python3.5
Tweet analysis with Python, Mecab and CaboCha
Linking python and JavaScript with jupyter notebook
Traffic monitoring with Kibana, ElasticSearch and Python