Bug 194595

Summary: Wrong numerical package used
Product: [Fedora] Fedora Reporter: Luca Citi <knulp79>
Component: python-matplotlibAssignee: Orion Poplawski <orion>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-05 15:50:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Luca Citi 2006-06-14 09:46:41 UTC
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
default one.
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.
Thank you,
Luca

Version-Release number of selected component (if applicable):
rpm -q python-matplotlib numpy
python-matplotlib-0.87.2-2.fc5
numpy-0.9.6-1.fc5

How reproducible:
always

Comment 1 Orion Poplawski 2006-07-05 15:50:21 UTC
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.