widgetti / ipyvolume

3d plotting for Python in the Jupyter notebook based on IPython widgets using WebGL
MIT License
1.95k stars 236 forks source link

Feature: non cubic bounding box and axes #389

Closed maartenbreddels closed 3 years ago

maartenbreddels commented 3 years ago

Example:

import numpy as np
import ipyvolume as ipv
x = np.arange(0, 100, 10).astype('float32')
xs, ys, zs = x, x**1.2, x**0.8

fig = ipv.figure()
s = ipv.scatter(xs, ys, zs)
ipv.set_box_aspect_data()
ipv.show()

image