Matplotlib使用Times New Roman自带粗体的bug解决方法

这个bug已经修复了


原文:

解决方法(执行一次永久解决):

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

https://github.com/matplotlib/matplotlib/issues/5574

你可能感兴趣的:(python)