What steps will reproduce the problem?
import visvis as vv
import numpy as np
L = vv.plot([1,3,2,4]) # Implies that giving a list of integers should work
L.SetYdata(np.array([4.0,3,1,2])) # Works (np.array of floats)
L.SetYdata([4.0,3,1,2]) # Raises exception (list; not a np.array);
L.SetYdata(np.array([4,3,1,2])) # Raises exception (np.array of ints, cannot
contain np.inf)
The problem lies in handleInvalidValues(), which is picky on its inputs.
Original issue reported on code.google.com by
gijsvano...@gmail.comon 3 Jan 2013 at 2:25