Hi, It seems that saving in SVG is not possible if I use default latex fonts in my plot. Do you have any suggestions? This is the error that I get:
/usr/lib/python2.4/site-packages/matplotlib/font_manager.py:989: UserWarning: Could not match Computer Modern Roman, normal, normal. Returning /usr/lib/python2.4/site-packages/matplotlib/mpl-data/Vera.ttf warnings.warn('Could not match %s, %s, %s. Returning %s' % (name, style, variant, self.defaultFont)) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py", line 631, in save_figure self.canvas.print_figure(fname) File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py", line 113, in print_figure orientation, **kwargs) File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", line 481, in print_figure orientation, **kwargs) File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_svg.py", line 289, in print_figure self.figure.draw(renderer) File "/usr/lib/python2.4/site-packages/matplotlib/figure.py", line 538, in draw for a in self.axes: a.draw(renderer) File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 1057, in draw a.draw(renderer) File "/usr/lib/python2.4/site-packages/matplotlib/axis.py", line 561, in draw tick.draw(renderer) File "/usr/lib/python2.4/site-packages/matplotlib/axis.py", line 161, in draw if self.label1On: self.label1.draw(renderer) File "/usr/lib/python2.4/site-packages/matplotlib/text.py", line 1167, in draw Text.draw(self, renderer) File "/usr/lib/python2.4/site-packages/matplotlib/text.py", line 349, in draw self._fontproperties, angle) File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", line 366, in draw_tex raise NotImplementedError NotImplementedError ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users