I just noticed all of the image and colorbar colors are wrong in
GTKCairo (on linux). When I tried to test on the pure Cairo backend,
I get
peds-pc311:~/python/projects/matplotlib/examples> python pcolor_demo.py -dCairo Traceback (most recent call last):
File "pcolor_demo.py", line 25, in ?
savefig('pcolor_demo')
File "/usr/local/lib/python2.3/site-packages/matplotlib/pylab.py", line 712, in savefig
return fig.savefig(*args, **kwargs)
File "/usr/local/lib/python2.3/site-packages/matplotlib/figure.py", line 457, in savefig
self.canvas.print_figure(*args, **kwargs)
File "/usr/local/lib/python2.3/site-packages/matplotlib/backends/backend_cairo.py", line 647, in print_figure
orientation)
File "/usr/local/lib/python2.3/site-packages/matplotlib/backends/backend_cairo.py", line 561, in print_figure_fn
if ext == 'png': _save_png (figure, fileObject)
File "/usr/local/lib/python2.3/site-packages/matplotlib/backends/backend_cairo.py", line 583, in _save_png
ctx.set_target_png (fileObject, cairo.FORMAT_ARGB32, width, height)
Here is my configuration information
matplotlib data path /usr/local/share/matplotlib
loaded rc file /home/jdhunter/.matplotlibrc
matplotlib version 0.73
verbose.level helpful
interactive is False
platform is linux2
numerix Numeric 23.6
font search path ['/usr/local/share/matplotlib']
loaded ttfcache file /home/jdhunter/.ttffont.cache
backend GTKCairo version PyGTK(2.2.0),PyCairo ??
JDH