From 19812087bf9991b243d0187f3db43a53e194899e Mon Sep 17 00:00:00 2001 From: birgits Date: Wed, 6 Sep 2023 18:15:29 +0200 Subject: [PATCH] Move import of pyproj 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 191e542c..d1218f80 100644 --- a/etrago/tools/plot.py +++ b/etrago/tools/plot.py @@ -26,7 +26,6 @@ import os from matplotlib import pyplot as plt -from pyproj import Proj, transform import matplotlib import matplotlib.patches as mpatches import numpy as np @@ -48,6 +47,7 @@ if "READTHEDOCS" not in os.environ: from geoalchemy2.shape import to_shape import geopandas as gpd + from pyproj import Proj, transform from shapely.geometry import LineString, MultiPoint, Point, Polygon __copyright__ = (