title: In Matplotlib, is there a way to know the list of available output format
body: <p>According to Matplotlib documentation, <code>matplotlib.figure.save_fig</code>takes an optional argument <code>format</code> (see <a href="http://matplotlib.sourceforge.net/api/figure_api.html#matplotlib.figure.Figure.savefig" rel="noreferrer">matplotlib.figure documentation</a>).</p>
  
  <p>This parameters takes 'one of the file extensions supported by the active backend' (as said by the official documentation).</p>
  
  <p>My point is: how to know, for a specific backend, the list of supported extensions?</p>
  
  <p>The list of available backends is accessible thru <code>matplotlib.rcsetup.all_backends</code>. These backends are available in <code>matplotlib.backends</code> but, I do not find a way to retrieve supported extensions.</p>