Hello all,

I've run into a problem in matplotlib. I'm using the GTKAgg backend and the 
matplotlib.pyplot.show() command after labeling the axes with LaTeX formatted 
labels. I run into multiple copies of this error:

libpng warning: Application built with libpng-1.2.41 but running with 1.5.10
Traceback (most recent call last):
  File "/sw/lib/python2.7/site-packages/matplotlib/backends/backend_gtk.py", 
line 436, in expose_event
    self._render_figure(self._pixmap, w, h)
  File "/sw/lib/python2.7/site-packages/matplotlib/backends/backend_gtkagg.py", 
line 84, in _render_figure
    FigureCanvasAgg.draw(self)
  File "/sw/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", 
line 440, in draw
    self.figure.draw(self.renderer)
  File "/sw/lib/python2.7/site-packages/matplotlib/artist.py", line 54, in 
draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/sw/lib/python2.7/site-packages/matplotlib/figure.py", line 1006, in 
draw
    func(*args)
  File "/sw/lib/python2.7/site-packages/matplotlib/artist.py", line 54, in 
draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/sw/lib/python2.7/site-packages/matplotlib/axes.py", line 2086, in draw
    a.draw(renderer)
  File "/sw/lib/python2.7/site-packages/matplotlib/artist.py", line 54, in 
draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/sw/lib/python2.7/site-packages/matplotlib/axis.py", line 1055, in draw
    tick.draw(renderer)
  File "/sw/lib/python2.7/site-packages/matplotlib/artist.py", line 54, in 
draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/sw/lib/python2.7/site-packages/matplotlib/axis.py", line 240, in draw
    self.label1.draw(renderer)
  File "/sw/lib/python2.7/site-packages/matplotlib/artist.py", line 54, in 
draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/sw/lib/python2.7/site-packages/matplotlib/text.py", line 576, in draw
    self._fontproperties, angle)
  File "/sw/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", 
line 227, in draw_tex
    Z = texmanager.get_grey(s, size, self.dpi)
  File "/sw/lib/python2.7/site-packages/matplotlib/texmanager.py", line 510, in 
get_grey
    X = read_png(os.path.join(self.texcache, pngfile))
RuntimeError: _image_module::readpng:  png_create_read_struct failed

Rebuilding and reinstalling matplotlib didn't help. So, I went a little deeper 
and rebuilt & reinstalled gtk+2-dev, gtk+2-shlibs, glib2-dev, glib2-shlibs, and 
then rebuilding matplotlib-py27 didn't help.

Thanks,
Sean
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to