[Numpy-tickets] [NumPy] #161: 2D histogram
NumPy
numpy-tickets@scipy....
Sat Aug 23 17:29:37 CDT 2008
#161: 2D histogram
-------------------------+--------------------------------------------------
Reporter: dhuard | Owner: somebody
Type: enhancement | Status: reopened
Priority: low | Milestone:
Component: Other | Version:
Severity: normal | Resolution:
Keywords: histogram |
-------------------------+--------------------------------------------------
Changes (by mfrank):
* status: closed => reopened
* resolution: fixed =>
Comment:
I'm new to numpy/scipy, but shouldn't it be
{{{
# Shape into a proper matrix
histmat = hist.reshape(ynbin,xnbin)
}}}
instead of
{{{
histmat = hist.reshape(xnbin,ynbin)
}}}?
Otherwise the dimensions of the histogram won't match with the lengths of
xedges/yedges, right?
--
Ticket URL: <http://www.scipy.org/scipy/numpy/ticket/161#comment:2>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list