You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if pylab.plot would accept python lists of length longer than two.
Currently, the call ipv.pylab.plot([0,1,3],[0,1,0],[3,5,5]) leads to the rather cryptic error message TypeError: only integer scalar arrays can be converted to a scalar index.
One solution would be to add a line values = np.array(values) to the function _grow_limit just before the call finites = np.isfinite(values)
The text was updated successfully, but these errors were encountered:
It would be nice if
pylab.plot
would accept python lists of length longer than two.Currently, the call
ipv.pylab.plot([0,1,3],[0,1,0],[3,5,5])
leads to the rather cryptic error messageTypeError: only integer scalar arrays can be converted to a scalar index
.One solution would be to add a line
values = np.array(values)
to the function_grow_limit
just before the callfinites = np.isfinite(values)
The text was updated successfully, but these errors were encountered: