mirror of
https://github.com/enzet/map-machine.git
synced 2025-04-30 02:37:24 +02:00
Optimize imports.
This commit is contained in:
parent
1197a60bac
commit
d12166143a
3 changed files with 8 additions and 7 deletions
|
@ -1,12 +1,13 @@
|
||||||
"""
|
"""
|
||||||
Buildings on the map.
|
Buildings on the map.
|
||||||
"""
|
"""
|
||||||
|
from typing import Any, Optional
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from colour import Color
|
from colour import Color
|
||||||
from svgwrite import Drawing
|
from svgwrite import Drawing
|
||||||
from svgwrite.container import Group
|
from svgwrite.container import Group
|
||||||
from svgwrite.path import Path
|
from svgwrite.path import Path
|
||||||
from typing import Any, Optional
|
|
||||||
|
|
||||||
from map_machine.drawing import PathCommands
|
from map_machine.drawing import PathCommands
|
||||||
from map_machine.feature.direction import Segment
|
from map_machine.feature.direction import Segment
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
"""
|
"""
|
||||||
Direction tag support.
|
Direction tag support.
|
||||||
"""
|
"""
|
||||||
from colour import Color
|
|
||||||
from svgwrite import Drawing
|
|
||||||
from svgwrite.gradients import RadialGradient
|
|
||||||
from svgwrite.path import Path
|
|
||||||
from typing import Iterator, Optional
|
from typing import Iterator, Optional
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
from colour import Color
|
||||||
from portolan import middle
|
from portolan import middle
|
||||||
|
from svgwrite import Drawing
|
||||||
|
from svgwrite.gradients import RadialGradient
|
||||||
|
from svgwrite.path import Path
|
||||||
|
|
||||||
from map_machine.drawing import PathCommands
|
from map_machine.drawing import PathCommands
|
||||||
from map_machine.osm.osm_reader import Tagged
|
from map_machine.osm.osm_reader import Tagged
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
Map drawing configuration.
|
Map drawing configuration.
|
||||||
"""
|
"""
|
||||||
import argparse
|
import argparse
|
||||||
from colour import Color
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
|
from colour import Color
|
||||||
|
|
||||||
__author__ = "Sergey Vartanov"
|
__author__ = "Sergey Vartanov"
|
||||||
__email__ = "me@enzet.ru"
|
__email__ = "me@enzet.ru"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue