#!/usr/bin/env python # coding: utf-8 # In[ ]: from k3d import K3D origins = (1.0, 1.0, 0.5, 0.0, 0.0, 0.0) vectors = (1.0, 0.0, 0.0, 1.0, 1.0, 0.0) colors = (0xff0000, 0x0000ff, 0x0000ff, 0xff0000) plot = K3D() plot += K3D.vectors(origins, vectors, colors=colors, labels=('Hello', 'World')) plot.display()