Hi,

being a complete newbie, I tried to run the simple_plot example from the 
website with matplotlib-0.99.0. However, I get the error message:

--------------------------------------------------------------------
Traceback (most recent call last):
   File "simple_plot.py", line 5, in <module>
     plot(t, s, linewidth=1.0)
   File "/usr/lib/python2.6/site-packages/matplotlib/pyplot.py", line 
2135, in plot
     ax = gca()
   File "/usr/lib/python2.6/site-packages/matplotlib/pyplot.py", line 
582, in gca
     ax =  gcf().gca(**kwargs)
   File "/usr/lib/python2.6/site-packages/matplotlib/pyplot.py", line 
276, in gcf
     return figure()
   File "/usr/lib/python2.6/site-packages/matplotlib/pyplot.py", line 
254, in figure
     **kwargs)
   File 
"/usr/lib/python2.6/site-packages/matplotlib/backends/backend_gtkagg.py", 
line 44, in new_figure_manager
     return FigureManagerGTKAgg(canvas, num)
   File 
"/usr/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py", 
line 443, in __init__
     self.window.set_icon_from_file(window_icon)
glib.GError: Couldn't recognize the image file format for file 
'/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/matplotlib.svg'
--------------------------------------------------------------------

It works with 0.98.5.3. Is this a bug or could anything be wrong with my 
installation?

Regards,
Bernd

-- 
Bernd Eggink
http://sudrala.de

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to