Hi Erwin and others,

When you make sure that the matplotlibrc file that is actually loaded contains the following line, the problem should disappear.

numerix      : numpy

However, matplotlib should also work with Numeric. The problem is that the newer versions of matplotlib are not very well tested with the legacy Numeric package, while it is still the default setting for numerix. My advice to the package maintainer is to request a decent default value for numerix to the upstream developers. Probably there is a good reason to keep it at Numeric, but then one should more carefully test each release of matplotlib.

In the code of the recent matplotlib releases, one often encounters the following construction:

hasattr(xmin,'__len__'),

while this should rather be

iterable(xmin)

The former works correctly with numpy, while the latter works both with numpy and Numeric. I hope this helps.

best regards,

Toon


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to