Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0082677

Browse files
committed
syncing to 0.71
svn path=/trunk/matplotlib/; revision=881
1 parent a02c493 commit 0082677

7 files changed

Lines changed: 58 additions & 20 deletions

File tree

API_CHANGES

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,43 @@
1-
API CHANGES in matplotlib-0.70.2
2-
3-
builtin min(), max(), round(), abs(), sum() functions no longer
4-
overridden upon "from pylab import *"
1+
API CHANGES in matplotlib-0.71
2+
3+
Significant numerix namespace changes, introduced to resolve
4+
namespace clashes between python built-ins and mlab names.
5+
Refactored numerix to maintain separate modules, rather than
6+
folding all these names into a single namespace. See the following
7+
mailing list threads for more information and background
8+
9+
http://sourceforge.net/mailarchive/forum.php?thread_id=6398890&forum_id=36187
10+
http://sourceforge.net/mailarchive/forum.php?thread_id=6323208&forum_id=36187
11+
12+
13+
OLD usage
14+
15+
from matplotlib.numerix import array, mean, fft
16+
17+
NEW usage
18+
19+
from matplotlib.numerix import array
20+
from matplotlib.numerix.mlab import mean
21+
from matplotlib.numerix.fft import fft
22+
23+
numerix dir structure mirrors numarray (though it is an incomplete
24+
implementation)
25+
26+
numerix
27+
numerix/mlab
28+
numerix/linear_algebra
29+
numerix/fft
30+
numerix/random_array
31+
32+
but of course you can use 'numerix : Numeric' and still get the
33+
symbols.
34+
35+
pylab still imports most of the symbols from Numerix, MLab, fft,
36+
etc, but is more cautious. For names that clash with python names
37+
(min, max, sum), pylab keeps the builtins and provides the numeric
38+
versions with an a* prefix, eg (amin, amax, asum)
39+
40+
541

642
API CHANGES in matplotlib-0.70
743

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
New entries should be added at the top
22

3+
2005-01-21 matplotlib-0.71 released
4+
35
2005-01-21 Refactored numerix to solve vexing namespace issues - JDH
46

57
2005-01-21 Applied Nadia's contour bug fix - JDH

LICENSE/LICENSE

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LICENSE AGREEMENT FOR MATPLOTLIB 0.70.1
1+
LICENSE AGREEMENT FOR MATPLOTLIB 0.71
22
--------------------------------------
33

44
1. This LICENSE AGREEMENT is between the John D. Hunter ("JDH"), and the
@@ -9,30 +9,30 @@ documentation.
99
2. Subject to the terms and conditions of this License Agreement, JDH
1010
hereby grants Licensee a nonexclusive, royalty-free, world-wide license
1111
to reproduce, analyze, test, perform and/or display publicly, prepare
12-
derivative works, distribute, and otherwise use matplotlib 0.70.1
12+
derivative works, distribute, and otherwise use matplotlib 0.71
1313
alone or in any derivative version, provided, however, that JDH's
1414
License Agreement and JDH's notice of copyright, i.e., "Copyright (c)
1515
2002-2004 John D. Hunter; All Rights Reserved" are retained in
16-
matplotlib 0.70.1 alone or in any derivative version prepared by
16+
matplotlib 0.71 alone or in any derivative version prepared by
1717
Licensee.
1818

1919
3. In the event Licensee prepares a derivative work that is based on or
20-
incorporates matplotlib 0.70.1 or any part thereof, and wants to
20+
incorporates matplotlib 0.71 or any part thereof, and wants to
2121
make the derivative work available to others as provided herein, then
2222
Licensee hereby agrees to include in any such work a brief summary of
23-
the changes made to matplotlib 0.70.1.
23+
the changes made to matplotlib 0.71.
2424

25-
4. JDH is making matplotlib 0.70.1 available to Licensee on an "AS
25+
4. JDH is making matplotlib 0.71 available to Licensee on an "AS
2626
IS" basis. JDH MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
2727
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, JDH MAKES NO AND
2828
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
29-
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB 0.70.1
29+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB 0.71
3030
WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
3131

3232
5. JDH SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB
33-
0.70.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
33+
0.71 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
3434
LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
35-
MATPLOTLIB 0.70.1, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF
35+
MATPLOTLIB 0.71, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF
3636
THE POSSIBILITY THEREOF.
3737

3838
6. This License Agreement will automatically terminate upon a material
@@ -44,6 +44,6 @@ Licensee. This License Agreement does not grant permission to use JDH
4444
trademarks or trade name in a trademark sense to endorse or promote
4545
products or services of Licensee, or any third party.
4646

47-
8. By copying, installing or otherwise using matplotlib 0.70.1,
47+
8. By copying, installing or otherwise using matplotlib 0.71,
4848
Licensee agrees to be bound by the terms and conditions of this License
4949
Agreement.

MANIFEST

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ CHANGELOG
44
INSTALL
55
INTERACTIVE
66
KNOWN_BUGS
7-
MANIFEST
87
MANIFEST.in
98
Makefile
109
README

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
Most of the other commands are from the Numeric, MLab and FFT, with
141141
the exception of those in mlab.py provided by matplotlib.
142142
"""
143-
__version__ = '0.71rc1'
143+
__version__ = '0.71'
144144
__revision__ = '$Revision$'
145145
__date__ = '$Date$'
146146

lib/matplotlib/axes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,7 @@ def contour(self, z,
10051005
reg = ones((1,jmax*(imax+1)+1), typecode = 'i')
10061006
reg[0,:jmax+1]=0
10071007
reg[0,-jmax:]=0
1008+
10081009
for j in range(0,jmax*(imax+1)+1, imax):
10091010
reg[0,j]=0
10101011

lib/matplotlib/pylab.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@
133133
134134
corrcoef - correlation coefficient
135135
cov - covariance matrix
136-
max - the maximum along dimension m
136+
amax - the maximum along dimension m
137137
mean - the mean along dimension m
138138
median - the median along dimension m
139-
min - the minimum along dimension m
139+
amin - the minimum along dimension m
140140
norm - the norm of vector x
141141
prod - the product along dimension m
142142
ptp - the max-min along dimension m
143143
std - the standard deviation along dimension m
144-
sum - the sum along dimension m
144+
asum - the sum along dimension m
145145
146146
_Time series analysis
147147
@@ -2483,7 +2483,7 @@ def winter():
24832483
'Line2D', 'Polygon', 'Rectangle', 'Circle', 'Text', 'cm',
24842484
'get_cmap', 'normalize',
24852485

2486-
'show'
2486+
'show', 'rcParams'
24872487
]
24882488

24892489

0 commit comments

Comments
 (0)