diff options
Diffstat (limited to 'golemflavor')
| -rw-r--r-- | golemflavor/plot.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/golemflavor/plot.py b/golemflavor/plot.py index acf0209..02aa232 100644 --- a/golemflavor/plot.py +++ b/golemflavor/plot.py @@ -298,14 +298,15 @@ def tax_fill(ax, points, nbins, **kwargs): def alpha_shape(points, alpha): - """ - Compute the alpha shape (concave hull) of a set - of points. - @param points: Iterable container of points. - @param alpha: alpha value to influence the - gooeyness of the border. Smaller numbers - don't fall inward as much as larger numbers. - Too large, and you lose everything! + """Compute the alpha shape (concave hull) of a set of points. + + Parameters + ---------- + points: Iterable container of points. + alpha: alpha value to influence the gooeyness of the border. Smaller + numbers don't fall inward as much as larger numbers. Too large, and you + lose everything! + """ if len(points) < 4: # When you have a triangle, there is no sense |
