import matplotlib.pyplot as plt# 显示默认字体的属性 font_properties = plt.matplotlib.font_manager.FontProperties() print(font_properties.get_name()) # 默认字体名称 print(font_properties.get_size()) # 默认字体大小 print(font_properties.get_family()) # 默认字体族
输出结果:
2.还有