From bc92401c08a609b16ba467d0e496914b972f27be Mon Sep 17 00:00:00 2001 From: AD Date: Thu, 24 Jan 2019 13:41:36 +0100 Subject: [PATCH] style: increase location saturation default from 60 to 80% --- tagmaps/classes/cluster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tagmaps/classes/cluster.py b/tagmaps/classes/cluster.py index c7fd453..422678e 100644 --- a/tagmaps/classes/cluster.py +++ b/tagmaps/classes/cluster.py @@ -584,7 +584,7 @@ def _is_saturated_item( item_area: float, topitem_area: float): """Skip item entirely if saturated, i.e. - if total area > 60% + if total area > 80% of top item cluster area Args: @@ -594,7 +594,7 @@ def _is_saturated_item( local_saturation = item_area/(topitem_area/100) # print("Local Saturation for Tag " + top_item[0] " # "+ ": " + str(round(localSaturation,0))) - if local_saturation > 60: + if local_saturation > 80: return True else: return False