1. 问题 matlibplot.pyplot保存图片为eps格式时报错 The PostScript backend does not support transparency; partially transparent artists will be rendered opaque. 2. 原因 PostScript后端不支持透明性 3. 解决 将图片格式设置为不透明 axs[1, 2].legend(framealpha=1) 或者 plt.legend(framealpha=1)