in proj_transform
return proj_transform_vec(vec, M)
File "/usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/proj3d.py",
line 153, in proj_transform_vec
vecw = np.dot(M, vec)
TypeError: can't multiply sequence by non-int of type 'float'
=== END ===
I am using the
t/client.py",
line 2274, in _handle_on_message
self.on_message(self, self._userdata, message)
File "mat-3.py", line 23, in on_message
x=np.concatenate((x,[point[0]]))
ValueError: zero-dimensional arrays cannot be concatenated
[ 1. 2. 3.] [ 4. 7. 8.] [ 6. 9. 5.]
[ 1. 2.
line_ani = animation.FuncAnimation(fig, update_line, 25, fargs=(data,
lines), interval=2000, blit=True)
plt.show()
=== END ===
So, the error now is in line.set_data where it says there are too many
indices. If I remove :num, in both line.set_data and
line.set_3d_properties, it