From cb6570a1da6575b6fc5874d381f73cd6e9037494 Mon Sep 17 00:00:00 2001 From: Martin Fleischmann Date: Thu, 27 Jun 2024 18:54:54 +0200 Subject: [PATCH] consistency in imports --- momepy/coins.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/momepy/coins.py b/momepy/coins.py index 98c7e1da..05c1ed99 100644 --- a/momepy/coins.py +++ b/momepy/coins.py @@ -11,7 +11,6 @@ import collections import math -from collections import Counter import geopandas as gpd import numpy as np @@ -398,7 +397,7 @@ def _angle_between_two_lines(line1, line2): # assertion: we expect exactly 2 of the 4 points to be identical # (lines touch in this point) - points = Counter([a, b, c, d]) + points = collections.Counter([a, b, c, d]) # make sure lines are not identical if len(points) == 2: