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

Skip to content

Commit b3b6b75

Browse files
committed
The matplotlib._isnan module removed (use numpy.isnan)
svn path=/trunk/matplotlib/; revision=3519
1 parent 0bf1805 commit b3b6b75

7 files changed

Lines changed: 4 additions & 78 deletions

File tree

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2007-07-13 The matplotlib._isnan module removed (use numpy.isnan) - ADS
2+
13
2007-07-13 Some minor cleanups in _transforms.cpp - ADS
24

35
2007-07-13 Removed the rest of the numerix extension code detritus,

lib/matplotlib/numerix/_na_imports.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
Float32, Float64, Complex32, Complex64, Float, Int, Complex,\
66
typecode
77
import numarray.ieeespecial as _ieee
8-
from matplotlib._isnan import isnan64 as _isnan
98
inf = infinity = infty = Infinity = _ieee.inf
109
isnan = _ieee.isnan
1110

lib/matplotlib/numerix/_nc_imports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from Numeric import array, ravel, reshape, shape, alltrue, sometrue
22
from Numeric import Int8, UInt8, Int16, UInt16, Int32, UInt32, \
33
Float32, Float64, Complex32, Complex64, Float, Int, Complex
4-
from matplotlib._isnan import isnan64 as _isnan
4+
from numpy import isnan as _isnan
55

66
class _TypeNamespace:
77
"""Numeric compatible type aliases for use with extension functions."""

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
from setupext import build_agg, build_gtkagg, build_tkagg, build_wxagg,\
8383
build_ft2font, build_image, build_windowing, build_transforms, \
8484
build_contour, build_nxutils, build_enthought, build_swigagg, build_gdk, \
85-
build_subprocess, build_isnan, build_ttconv
85+
build_subprocess, build_ttconv
8686
import distutils.sysconfig
8787

8888
for line in file('lib/matplotlib/__init__.py').readlines():
@@ -156,8 +156,6 @@
156156
if sys.platform == 'win32':
157157
build_subprocess(ext_modules, packages)
158158

159-
build_isnan(ext_modules, packages)
160-
161159
try: import datetime
162160
except ImportError: havedate = False
163161
else: havedate = True

setupext.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -809,11 +809,3 @@ def build_subprocess(ext_modules, packages):
809809
)
810810
add_base_flags(module)
811811
ext_modules.append(module)
812-
813-
def build_isnan(ext_modules, packages):
814-
module = Extension(
815-
'matplotlib._isnan',
816-
[ 'src/_isnan.c'],
817-
)
818-
add_base_flags(module)
819-
ext_modules.append(module)

src/MPL_isnan.h

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/_isnan.c

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)