@@ -12,7 +12,7 @@ svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk matplotli
1212# checking out the main src
1313svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib matplotlib --username=youruser --password=yourpass
1414
15- # branch checkouts, eg the transforms branch
15+ # branch checkouts, eg the transforms branch
1616svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/transforms transbranch
1717
1818== Committing changes ==
@@ -47,15 +47,18 @@ For numpy, use:
4747
4848 import numpy as npy
4949 a = npy.array([1,2,3])
50-
50+
5151
5252For masked arrays, use:
53- import matplotlib.numerix.npyma as ma
53+ from numpy import ma
5454
55- (This is needed to support the maskedarray module as an
56- alternative to the original numpy ma module; eventually,
57- the maskedarray implementation is likely to replace the
58- ma implementation.)
55+ (The earlier recommendation, 'import matplotlib.numerix.npyma as ma',
56+ was needed temporarily during the development of the maskedarray
57+ implementation as a separate package. As of numpy 1.05, it
58+ replaces the old implementation.
59+ Note: "from numpy import ma" works with numpy < 1.05 *and* with
60+ numpy >= 1.05. "import numpy.ma as ma" works *only* with
61+ numpy >= 1.05, so for now we must not use it.)
5962
6063For matplotlib main module, use:
6164
@@ -64,8 +67,8 @@ For matplotlib main module, use:
6467
6568For matplotlib modules (or any other modules), use:
6669
67- import matplotlib.cbook as cbook
68-
70+ import matplotlib.cbook as cbook
71+
6972 if cbook.iterable(z):
7073 pass
7174
@@ -125,7 +128,7 @@ for older versions of emacs (emacs<22) you need to do
125128
126129(add-hook 'python-mode-hook
127130 (lambda ()
128- (add-hook 'local-write-file-hooks 'delete-trailing-whitespace)))
131+ (add-hook 'local-write-file-hooks 'delete-trailing-whitespace)))
129132
130133
131134
0 commit comments