2009/10/21 Ralf Gommers email@example.com:
There is a dtype argument already, you merged my patch for that, commit 44679c7aae5d6b3747c88d46756a3dc96c9a727f.
Oh yes, of course :)
My point remains, however, that the default for dtype may have to be changed for consistency. Currently, you have to read the docs to figure out what type will be returned, and I feel that element of surprise can be eliminated simply by specifying the default dtype=float or dtype=np.uint8.