documentation of savefig() function表示,支持的文件格式列表取决于所使用的后端。如何获取特定后端支持的图片格式列表?
发布于 2013-02-22 00:29:59
你只需要问canvas
plt.gcf().canvas.get_supported_filetypes()或
plt.gcf().canvas.get_supported_filetypes_grouped()documentation
https://stackoverflow.com/questions/15007248
复制相似问题