Problem with numpy 2D Histogram

Peter Otten __peter__ at web.de
Fri Jun 20 07:00:15 EDT 2014


Jamie Mitchell wrote:

> I have changed my x and y data to float64 types but I am still getting the
> same error message?

Please double-check by adding

assert x.dtype == np.float64
assert y.dtype == np.float64

If none of these assertions fail try to make a minimal script including some 
data that provokes the TypeError and post it here.





More information about the Python-list mailing list