I was trying to recreate verbatim the 3D alphashape example found on https://pypi.org/project/alphashape/ (about 1/3 down the page). I copied the code into a Jupyter notebook, and it ran correctly, but a recent update (from a sub-package?) causes a ValueError described with photos below.
The points plot properly in 3D space, however the call to alphashape.alphashape() returns the following error:
ValueError Traceback (most recent call last)
in
13 plt.show()
14
---> 15 alpha_shape = alphashape.alphashape(points_3d, 1.1)
16 alpha_shape.show()
~\Anaconda3\lib\site-packages\alphashape\alphashape.py in alphashape(points, alpha)
72
73 # Loop over triangles
---> 74 for ia, ib, ic in tri.vertices:
75 pa = coords[ia]
76 pb = coords[ib]
ValueError: too many values to unpack (expected 3)
---------------------------------------------------------------------------
### Acceptance Criteria
Receive the same output as listed on https://pypi.org/project/alphashape/
Note1: I have tried this on a Macintosh system, and the correct output results were obtained for the same code, running from the same Jupyter Notebook.
Note2: Prior to running the notebook, I performed a global update via anaconda command prompt: conda update --all
Description
I was trying to recreate verbatim the 3D alphashape example found on https://pypi.org/project/alphashape/ (about 1/3 down the page). I copied the code into a Jupyter notebook, and it ran correctly, but a recent update (from a sub-package?) causes a ValueError described with photos below.
What I Did
What I Expected
The same output as indicated on https://pypi.org/project/alphashape/ about 1/3 down.
The points plot properly in 3D space, however the call to alphashape.alphashape() returns the following error:
ValueError Traceback (most recent call last)