matplotlib设置中文标签时间:2025-01-27 13:37:44import matplotlib.pyplot as plt plt.rcParams['font.sans-serif']=['SimHei']