Skip to content

Commit

Permalink
Move import of tilemapbase 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 1981208 commit a8feae0
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 @@ -30,7 +30,6 @@
import matplotlib.patches as mpatches
import numpy as np
import pandas as pd
import tilemapbase

cartopy_present = True
try:
Expand All @@ -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, "
Expand Down

0 comments on commit a8feae0

Please sign in to comment.