Menu

#7 QwtPlotCurve won't accept e.g. numpy.float32 types

open
nobody
None
5
2011-09-16
2011-09-16
No

On Ubuntu 11.04 64bit, trying to call e.g. QwtPlotCurve.setData([x,y],[1,1]), where x and y are numpy array elements (and thus are numpy.float32 types rather than standard floats), produces:

TypeError: the sequence may only contain float, int or long types

Same code works fine on 10.04, so perhaps I should be filing this as an Ubuntu bug?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB