In [1]:
import k3d
positions=[[0,0,0], [0,1,3], [2,2,1]]
group = k3d.points(positions, point_size=0.2, shader='mesh') + \
k3d.line(positions, shader='mesh', width=0.05)
group
In [2]:
group + k3d.mesh(positions, [0,1,2], color=0xff70ca)
In [ ]: