pip install visvis python import visvis as vv python fig = vv.figure() ax = vv.gca() line = vv.plot([0, 1], [0, 1], axes=ax) point = vv.plot([0.5], [0.5], 'ro', axes=ax) text = vv.text('Hello, World!', pos=(0.3, 0.8), fontsize=16, axes=ax) vv.show() python line.lineWidth = 2 point.markerSize = 10 text.text = 'Hello, Python!' text.fontsize = 20 text.pos = (0.5, 0.2) ax.SetLimits(0, 2, 0, 2)


上一篇:
下一篇:
切换中文