Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 9 years ago

stan gravatar image

I somtimes get a similar error when I use pylab or matplotlib. Usually it helps if I wrap all values or variables with predefined values as e.g. float(1.6) or float(lower_x_bound).

click to hide/show revision 2
No.2 Revision

I somtimes get a similar error when I use pylab or matplotlib. Usually it helps if I wrap all values or variables with predefined values as e.g. float(1.6) or float(lower_x_bound).float(lower_x_bound). Edit: Sorry, I meant numpy.float instead of float.