From a8feae0ea2afba7ce46877ee26c0fe9783b4bf9b Mon Sep 17 00:00:00 2001 From: birgits Date: Wed, 6 Sep 2023 18:19:25 +0200 Subject: [PATCH] Move import of tilemapbase to if statement to avoid import on rtd --- etrago/tools/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etrago/tools/plot.py b/etrago/tools/plot.py index d1218f80..d3ae2068 100644 --- a/etrago/tools/plot.py +++ b/etrago/tools/plot.py @@ -30,7 +30,6 @@ import matplotlib.patches as mpatches import numpy as np import pandas as pd -import tilemapbase cartopy_present = True try: @@ -49,6 +48,7 @@ import geopandas as gpd from pyproj import Proj, transform from shapely.geometry import LineString, MultiPoint, Point, Polygon + import tilemapbase __copyright__ = ( "Flensburg University of Applied Sciences, "