From 9b6ff60b9c3306651d9220b6ab07a62930c415cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Fri, 10 Nov 2017 17:15:21 +0100 Subject: [PATCH] remove old auto_height stuff --- src/c3nav/mapdata/render/engines/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/c3nav/mapdata/render/engines/base.py b/src/c3nav/mapdata/render/engines/base.py index 701102d4..aa0b7043 100644 --- a/src/c3nav/mapdata/render/engines/base.py +++ b/src/c3nav/mapdata/render/engines/base.py @@ -65,7 +65,7 @@ class RenderEngine(ABC): raise ValueError('invalid color string!') def add_geometry(self, geometry, fill: Optional[FillAttribs] = None, stroke: Optional[StrokeAttribs] = None, - altitude=None, height=None, auto_height=False, shape_cache_key=None): + altitude=None, height=None, shape_cache_key=None): # draw a shapely geometry with a given style # altitude is the absolute altitude of the upper bound of the element # height is the height of the element @@ -76,7 +76,7 @@ class RenderEngine(ABC): return self._add_geometry(geometry=geometry, fill=fill, stroke=stroke, - altitude=altitude, height=height, auto_height=auto_height, shape_cache_key=shape_cache_key) + altitude=altitude, height=height, shape_cache_key=shape_cache_key) @abstractmethod def _add_geometry(self, geometry, fill: Optional[FillAttribs], stroke: Optional[StrokeAttribs],