From: John H. <jd...@gm...> - 2009-04-30 20:44:45
|
On Wed, Apr 29, 2009 at 3:51 AM, Gert-Jan <gj_...@ho...> wrote: > > Hey there, > > In my application I'd like to export plots as Enhanced Metafiles (.emf). > After finding out that saving created plots as EMF generates an error, I > http://www.nabble.com/EMF-export-doesn%27t-work-td22618867.html read that > emf is no longer supported . Then I tried to > http://www.nabble.com/How-to-add-a-new-backend--td20089848.html#a20091178 > manually enable exporting as EMF , but matplit.use('emf') generates a > NotImplementedError. > > So, I'd like to know if someone happens to know of a simple method to > reimplement the support for EMF files. > > Thanks in advance for your time and effort! The syntax is matplotlib.use('module://backend_emf') if backend_emf.py is in your PYTHONPATH. There is no guarantee that this module will work with your version of matplotlib, so you may need to do some work porting it to the latest backend API. JDH |