aboutsummaryrefslogtreecommitdiffstats
path: root/golemflavor
diff options
context:
space:
mode:
authorShivesh Mandalia <shivesh.mandalia@outlook.com>2020-03-03 02:36:22 +0000
committerShivesh Mandalia <shivesh.mandalia@outlook.com>2020-03-03 02:36:22 +0000
commitf18364ec6522466afbdd64bdf563a54c9e6e4db9 (patch)
tree9bee7890ee256e999327813c00f0d80cd73b2c11 /golemflavor
parentfaadd4e4eb901f7a49128b3b7e6a0a3ffbcd4664 (diff)
downloadGolemFlavor-f18364ec6522466afbdd64bdf563a54c9e6e4db9.tar.gz
GolemFlavor-f18364ec6522466afbdd64bdf563a54c9e6e4db9.zip
documentation
Diffstat (limited to 'golemflavor')
-rw-r--r--golemflavor/plot.py17
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