Cairo backend prospects

I had to alter the following lines from backend_gtkcairo,

    > from

    > import matplotlib.backends.backend_cairo as be_cairo from
    > matplotlib.backends.backend_gtk import *

    > "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gtkcairo.py",
    > line 11, in ? import matplotlib.backends.backend_cairo as
    > be_cairo AttributeError: 'module' object has no attribute
    > 'backends'

My guess is that you were running your test code in which there was a
"matplotlib" dir that was not *the* matplotlib install dir.

Possible?

JDH

It wouldn't have been the first time I made that mistake, but that doesn't
seem to be the problem.

···

On Thursday 11 January 2007 09:42, John Hunter wrote:

    > I had to alter the following lines from backend_gtkcairo,
    > from

    > import matplotlib.backends.backend_cairo as be_cairo from
    > matplotlib.backends.backend_gtk import *

    >
"/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gtkcairo.py
", Darren> line 11, in ? import matplotlib.backends.backend_cairo as
> be_cairo AttributeError: 'module' object has no attribute Darren>
'backends'

My guess is that you were running your test code in which there was a
"matplotlib" dir that was not *the* matplotlib install dir.

Possible?