Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3D bar chart ? #425

Open
Thomzoy opened this issue Jan 27, 2023 · 1 comment
Open

3D bar chart ? #425

Thomzoy opened this issue Jan 27, 2023 · 1 comment

Comments

@Thomzoy
Copy link

Thomzoy commented Jan 27, 2023

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 !

@maartenbreddels
Copy link
Collaborator

Hi!

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

Regards,

Maarten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants