Bug 194595 - Wrong numerical package used
Wrong numerical package used
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: python-matplotlib (Show other bugs)
5
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Orion Poplawski
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-14 05:46 EDT by Luca Citi
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-05 11:50:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Luca Citi 2006-06-14 05:46:41 EDT
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 11:50:21 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.