Skip to main content


Project description


import numpy as np
from scatter3d.scatter3d import scatter3d

num = 1000
x = np.random.random(500)*num-num/2
y = np.random.random(500)*num-num/2
z = np.random.random(500)*num-num/2

scatter3d.set_data(x, y, z)
# scatter3d.port=80
# scatter3d.start_color = "#ffffff" # 开始渐变色
# scatter3d.end_color = "#ffffff"  # 结束渐变色
# scatter3d.autorotation=0.0005  # 自动旋转 数字表示旋转速度, 默认不旋转

然后在浏览器中输入 即可查看3d散点图

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scatter3d-0.3.1.tar.gz (141.9 kB view hashes)

Uploaded Source

Built Distribution

scatter3d-0.3.1-py3-none-any.whl (143.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page