Skip to content

Mesh3d alphahull is broken #3615

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

Closed
cstenkamp opened this issue Mar 7, 2022 · 2 comments
Closed

Mesh3d alphahull is broken #3615

cstenkamp opened this issue Mar 7, 2022 · 2 comments

Comments

@cstenkamp
Copy link

In version 4.14.3, alphahull algorithm for Mesh3d seems broken - the examples at https://plotly.com/python/3d-mesh/ also don't render.

Minimal example (from the docs):

import plotly.graph_objects as go
import numpy as np

pts = np.loadtxt(np.DataSource().open('https://raw.githubusercontent.com/plotly/datasets/master/mesh_dataset.txt'))
x, y, z = pts.T

fig = go.Figure(data=[go.Mesh3d(x=x, y=y, z=z,
                   alphahull=5,
                   opacity=0.4,
                   color='cyan')])
fig.show()

See also https://stackoverflow.com/q/70825818/5122790

@archmoj
Copy link
Contributor

archmoj commented Mar 8, 2022

Thanks for the report.
This is now addressed at plotly.js level: https://github.com/plotly/plotly.js/releases/tag/v2.10.1 so the fix would be available in the next plotly.py release.

@gvwilson
Copy link
Contributor

gvwilson commented Jul 3, 2024

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson

@gvwilson gvwilson closed this as completed Jul 3, 2024
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

3 participants