Skip to content

Commit

Permalink
Fix flake 8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Aug 12, 2024
1 parent c9af4ee commit f1f9033
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions etrago/analyze/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"""
Plot.py defines functions necessary to plot results of eTraGo.
"""
from math import log10, sqrt
from math import sqrt
import logging
import os

from matplotlib import pyplot as plt
from matplotlib.legend_handler import HandlerPatch
from matplotlib.patches import Circle, Ellipse
from pyproj import Proj, transform
from pypsa.plot import draw_map_cartopy
import matplotlib
import matplotlib.patches as mpatches
import numpy as np
Expand All @@ -39,15 +39,15 @@
import cartopy.crs as ccrs
except ImportError:
cartopy_present = False
from pypsa.plot import draw_map_cartopy


logger = logging.getLogger(__name__)

if "READTHEDOCS" not in os.environ:
from etrago.execute import import_gen_from_links
from geoalchemy2.shape import to_shape
from geoalchemy2.shape import to_shape # noqa: F401
from pyproj import Proj, transform
from shapely.geometry import LineString, MultiPoint, Point, Polygon
from shapely.geometry import LineString, Point
import geopandas as gpd
import tilemapbase

Expand All @@ -58,8 +58,9 @@
"DLR-Institute for Networked Energy Systems"
)
__license__ = "GNU Affero General Public License Version 3 (AGPL-3.0)"
__author__ = """ulfmueller, MarlonSchlemminger, mariusves, lukasol, ClaraBuettner,
CarlosEpia, pieterhexen, gnn, fwitte, lukasol, KathiEsterl, BartelsJ"""
__author__ = """ulfmueller, MarlonSchlemminger, mariusves, lukasol,
ClaraBuettner, CarlosEpia, pieterhexen, gnn, fwitte, lukasol, KathiEsterl,
BartelsJ"""


def set_epsg_network(network):
Expand Down

0 comments on commit f1f9033

Please sign in to comment.