2013-02-21 9 views

Odpowiedz

13

Trzeba tylko zadać canvas:

plt.gcf().canvas.get_supported_filetypes() 

lub

plt.gcf().canvas.get_supported_filetypes_grouped() 

documentation

+0

z linku "dokumentację,": filetypes = { 'ps': 'Postscriptum', " eps ":" Encapsulated Postscript "," pdf ":" Portable Document Format "," pgf ":" Kod PGF dla LaTeX "," png ":" Portable Network Graphics "," raw ":" Raw RGBA bitmap "," rgba ':' Raw RGBA bitmap ',' svg ':' S calable Vector Graphics ',' svgz ':' Scalable Vector Graphics ',' jpg ':' Joint Photographic Experts Group ',' jpeg ':' Joint Photographic Experts Group ',' tif ':' Tagged Image File Format ',' tiff ":" Tagged Image File Format "} ¶ – zerocog

Powiązane problemy