matplotlib绘图没法显示中文问题的解决方法

import matplotlib.pyplot as plt labels = ['男性', '女性', '其余'] sizes = [57.1, 32.2, 10.7] explode = (0, 0.1, 0) fig1, ax1 = plt.subplots() ax1.pie(sizes, explode=explode, labels=labels, autopct='%1.1f%
相关文章
相关标签/搜索