[PYTHON] Matplotlib's Times New Roman becomes bold

The solution is to add the following program.

import matplotlib

del matplotlib.font_manager.weight_dict['roman']
matplotlib.font_manager._rebuild()

Recommended Posts

Matplotlib's Times New Roman becomes bold
When Times New Roman cannot be used with matplotlib (Ubuntu)