Skip to content

Conversation

samwaseda
Copy link
Member

I realized that there's this command fig.update_scenes(aspectmode='data') which plots the box in the correct aspect ratio, i.e. from this (which is wrong):

Screenshot 2023-08-07 at 17 00 58

we go to this (which is correct):

Screenshot 2023-08-07 at 17 01 59

@samwaseda samwaseda requested review from liamhuber and pmrv August 7, 2023 15:03
@samwaseda
Copy link
Member Author

And this allows us to go one step away from NGLView. I guess the last element that's missing is the box frame

@samwaseda samwaseda merged commit f90d30d into main Aug 7, 2023
@jan-janssen jan-janssen deleted the plotly_aspectmode branch August 18, 2023 16:13
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

Successfully merging this pull request may close these issues.

1 participant