ipyvolume icon indicating copy to clipboard operation
ipyvolume copied to clipboard

3D bar chart ?

Open Thomzoy opened this issue 3 years ago • 1 comments

Hi !

I stumbled upon the 3D bar example, which I would really enjoy using. However it seems that the API changed quite a bit since the example notebook was published (Apr. 2020).

For instance, the following snippet won't work (s is a Scatter object, fig a Figure) since Scatter and Figure don't have a size_<xyz>_scale and scales attributes respectively

s.geo = 'box'
s.size = 1
s.size_x_scale = fig.scales['x']
s.size_y_scale = fig.scales['y']
s.size_z_scale = fig.scales['z']

Is there still a way to do such a plot today ? By tweaking the notebook or with newly added functionalities ?

Thanks a lot !

Thomzoy avatar Jan 27 '23 18:01 Thomzoy

Hi!

thank you. Which version of ipyvolume did you use? If you have 0.6.1 it should work.

Regards,

Maarten

maartenbreddels avatar Feb 24 '23 20:02 maartenbreddels