From: Michael D. <md...@st...> - 2012-06-06 17:00:01
|
On 06/06/2012 12:54 PM, Ethan Gutmann wrote: > On Jun 6, 2012, at 10:49 AM, Michael Droettboom wrote: >> Interesting result. Note, however, that matplotlib will eventually turn >> all data arrays into float64 at rendering time, so any speed advantage >> to using integers will be lost by the subsequent conversion, I suspect. > I don't think it does if you pass uint8 to imshow, but otherwise you might be right. Sure. I was referring to scatter here. With imshow, of course, everything is ultimately turned into 8-bits-per-plane rgba. Mike |