python pip install vispy python import numpy as np import vispy.plot as vp data = np.random.normal(size=(1000, 2)) fig = vp.Fig(title='Complex Data Visualization') scatter = fig[0, 0].scatter(data, marker='o', size=5, face_color='blue', edge_color=None) fig.colorbar(scatter) fig[0, 0].xlabel = 'X-axis' fig[0, 0].ylabel = 'Y-axis' fig[0, 0].legend(title='Legend') fig.show(run=True)


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