fix typo
This commit is contained in:
parent
05982b2364
commit
34fffafa3f
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class SVGImage:
|
|||
return re.sub(r'L (-?([0-9]+)(.[0-9]+)?,(-?[0-9]+)(.[0-9]+)?) L', r'L \1 ', data)
|
||||
|
||||
def _geometry_to_svg(self, geom):
|
||||
# scale and move geometry geometry and create svg code for it
|
||||
# scale and move geometry and create svg code for it
|
||||
if isinstance(geom, Polygon):
|
||||
return ('<path d="' +
|
||||
' '.join((('M %.1f %.1f L'+(' %.1f %.1f'*(len(ring.coords)-1))+' z') %
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue