Fernando Perez wrote:
> 
> Did you install pstoedit?  If you do, you'll see that inkscape will
> then be able to load .eps/.ps files in a fully editable format.  I've
> used it to fix decade-old plots for which the only thing around was
> the eps file.
> 

I tried to export an .svg from MPL (0.90.0rev3131) with
rcParams['text.usetex']=True and got a NotImplementedError (same for the pdf 
backend
with usetex, see attached log). I was wondering: Is it (technically) possible 
to have
.svg export capabilities with usetex-support and if so, has there been no need 
for
this feature so far (not that I need it urgently, just curious..)?

Anyway, to work with MPL-images (.ps/.eps) in Inkscape, I installed pstoedit but
loading these files doesn't work (seems not to recognize them as images).
Sorry if I'm driving the Inkscape-stuff a bit OT here, but:
What version of Inkscape & friends are you using? I'm using pstoedit 3.44, 
Inkscape
0.44.1. The Latex-formula-feature of Inkscape is also not working and the error 
seems
related to pstoedit. Maybe someone had similar experiences ...

Thanks for any hint!

-- 
cheers,
steve

I love deadlines. I like the whooshing sound they make as they fly by. -- 
Douglas Adams

Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/local/lib/python2.4/site-packages/matplotlib/pylab.py", line 796, in savefig
    return fig.savefig(*args, **kwargs)
  File "/usr/local/lib/python2.4/site-packages/matplotlib/figure.py", line 732, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py", line 114, in print_figure
    orientation, **kwargs)
  File "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", line 483, in print_figure
    orientation, **kwargs)
  File "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_svg.py", line 330, in print_figure
    self.figure.draw(renderer)
  File "/usr/local/lib/python2.4/site-packages/matplotlib/figure.py", line 574, in draw
    for a in self.axes: a.draw(renderer)
  File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", line 1285, in draw
    a.draw(renderer)
  File "/usr/local/lib/python2.4/site-packages/matplotlib/axis.py", line 601, in draw
    tick.draw(renderer)
  File "/usr/local/lib/python2.4/site-packages/matplotlib/axis.py", line 176, in draw
    if self.label1On: self.label1.draw(renderer)
  File "/usr/local/lib/python2.4/site-packages/matplotlib/text.py", line 905, in draw
    Text.draw(self, renderer)
  File "/usr/local/lib/python2.4/site-packages/matplotlib/text.py", line 415, in draw
    self._fontproperties, angle)
  File "/usr/local/lib/python2.4/site-packages/matplotlib/backend_bases.py", line 383, in draw_tex
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to