would do: plt.savefig('figpath.png', dpi=400, bbox_inches='tight') savefig ... by default format The explicit file format to use ('png', 'pdf', 'svg', 'ps', ...
確定! 回上一頁