Skip to content

Commit

Permalink
Move import of pyproj to if statement to avoid import on rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
birgits committed Sep 6, 2023
1 parent f40632c commit 1981208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etrago/tools/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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__ = (
Expand Down

0 comments on commit 1981208

Please sign in to comment.