import numpy as npimport matplotlib.pyplot as pltimport matplotlib as mpl mpl.rcParams['axes.unicode_minus']=Falsempl.rcParams['font.sans-serif']=['SimHei']#上述两句很重要 labes=['7月','8月','9月','10月','11月','12月']fracs=[2.0,2.1,2.2,2.1,2.3,2.4]explode=[0,0.0…