We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I followed the documentation example. https://github.com/bellockk/alphashape#readme It seems there is a compatibility issue with PolygonPatch.
PolygonPatch
Here's what I ran. I expected a plot but got an error.
import os import sys import pandas as pd import numpy as np from descartes import PolygonPatch import matplotlib.pyplot as plt sys.path.insert(0, os.path.dirname(os.getcwd())) import alphashape points_2d = [(0., 0.), (0., 1.), (1., 1.), (1., 0.), (0.5, 0.25), (0.5, 0.75), (0.25, 0.5), (0.75, 0.5)] alpha_shape = alphashape.alphashape(points_2d, 0.) alpha_shape fig, ax = plt.subplots() ax.scatter(*zip(*points_2d)) ax.add_patch(PolygonPatch(alpha_shape, alpha=0.2)) plt.show()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I followed the documentation example. https://github.com/bellockk/alphashape#readme
It seems there is a compatibility issue with
PolygonPatch
.Here's what I ran. I expected a plot but got an error.
The text was updated successfully, but these errors were encountered: