Red Hat Bugzilla – Bug 194595
Wrong numerical package used
Last modified: 2007-11-30 17:11:35 EST
Description of problem:
I had python-matplotlib and numpy installed but running easy examples, e.g.
http://matplotlib.sourceforge.net/screenshots/simple_plot.py, I got no error but
a erraneous plots.
I found the solution and it is to download the
http://matplotlib.sourceforge.net/matplotlibrc file and save it in ~/.matplotlib/
This file has a line that sets the numerix component to numpy instead of the
I think the matplotlib package should check which numerical package (numpy,
Numeric or numarray) is currently installed and set the numerix entry in the
matplotlibrc file accordingly.
Version-Release number of selected component (if applicable):
rpm -q python-matplotlib numpy
I don't see any problem simple_plot.py on my FC5 box.
matplotlib can use any of python-numeric, numpy, or python-numarray. Currently
it defaults to python-numeric. Someday it may default to numpy, but I'm not
going to make assumptions about what numeric package a user wants based on
what's installed at the time.