Hallöchen!

I use pyemf 2.0 and Matplotlib 0.98.5.  If I try to save a trivial
plot into an EMF file, I get

Traceback (most recent call last):
  File "./make_plots.py", line 23, in <module>
    figure.savefig(sample_name + "_pds.emf")
  File "/usr/lib/python2.5/[...]/matplotlib/figure.py", line 990, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/usr/lib/python2.5/[...]/matplotlib/backend_bases.py", line 1419, in 
print_figure
    **kwargs)
  File "/usr/lib/python2.5/[...]/matplotlib/backends/backend_emf.py", line 604, 
in print_emf
    self.figure.draw(renderer)
  File "/usr/lib/python2.5/[...]/matplotlib/figure.py", line 738, in draw
    if self.frameon: self.patch.draw(renderer)
  File "/usr/lib/python2.5/[...]/matplotlib/patches.py", line 301, in draw
    renderer.draw_path(gc, tpath, affine, rgbFace)
  File "/usr/lib/python2.5/[...]/matplotlib/backend_bases.py", line 74, in 
draw_path
    raise NotImplementedError
NotImplementedError

Is this a bug or a mal-configuration?  The Python code was

            figure = pyplot.figure()
            axes = figure.add_subplot(111)
            x, y = numpy.loadtxt("data.dat", comments="#", usecols=(0, 1), 
unpack=True)
            axes.semilogy(x, y)
            figure.savefig("test.emf")

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                   Jabber ID: torsten.bron...@jabber.rwth-aachen.de


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to