Skip to content

Commit 0acffed

Browse files
committed
Fix to use compatibility module in newer numpy
svn path=/trunk/matplotlib/; revision=2148
1 parent 37fb571 commit 0acffed

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2006-03-14 Added import of compatibility library for newer numpy
2+
linear_algebra - TEO
3+
14
2006-03-12 Extended "load" function to support individual columns and
25
moved "load" and "save" into matplotlib.mlab so they can be
36
used outside of pylab -- see examples/load_converter.py -

lib/matplotlib/numerix/linear_algebra/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@
66
from LinearAlgebra import *
77
elif which[0] == "numpy":
88
from numpy.linalg import *
9+
try:
10+
from numpy.linalg.old import *
11+
except:
12+
pass
913
else:
1014
raise RuntimeError("invalid numerix selector")

0 commit comments

Comments
 (0)