summaryrefslogtreecommitdiff
path: root/numpy/lib/twodim_base.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-09-16 02:08:59 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-09-16 02:08:59 +0000
commit8b6db6e885dec95dda7bbe2001d95bdee63e6cf1 (patch)
tree66e012c2479c69c935529d6f56488829f2433995 /numpy/lib/twodim_base.py
parentf74f1d14f0768650a7dd5327944ddcc82f0d892d (diff)
downloadnumpy-8b6db6e885dec95dda7bbe2001d95bdee63e6cf1.tar.gz
Fix ticket #188 by returning the name of the dtype objects for data-type objects without fields or sub-arrays that are in correct byte-order
Diffstat (limited to 'numpy/lib/twodim_base.py')
-rw-r--r--numpy/lib/twodim_base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/lib/twodim_base.py b/numpy/lib/twodim_base.py
index 512b6bf53..d79fd03c6 100644
--- a/numpy/lib/twodim_base.py
+++ b/numpy/lib/twodim_base.py
@@ -143,7 +143,7 @@ def vander(x, N=None):
X[:,i] = x**(N-i-1)
return X
-def histogram2d(x,y, bins=10, range=None, normed=False):
+def histogram2d(x,y, bins=10, range=None, normed=False):
"""histogram2d(x,y, bins=10, range=None, normed=False) -> H, xedges, yedges
Compute the 2D histogram from samples x,y.
@@ -159,7 +159,6 @@ def histogram2d(x,y, bins=10, range=None, normed=False):
The histogram array is a count of the number of samples in each
two dimensional bin.
Setting normed to True returns a density rather than a bin count.
- Data falling outside of the edges are not counted.
"""
import numpy as np
try: