Skip to content

Commit

Permalink
Update data_geo_streets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed May 8, 2020
1 parent 7084461 commit cf26334
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ensae_projects/datainc/data_geo_streets.py
Expand Up @@ -24,7 +24,8 @@ def get_fields_description():
def get_seattle_streets(filename=None, folder="."):
"""
Retrieves processed data from
`Seattle Streets <https://data.seattle.gov/dataset/Street-Network-Database/afip-2mzr/data)>`_.
`Seattle Streets <https://data.seattle.gov/dataset/Street-Network-Database/
afip-2mzr/data)>`_.
@param filename local filename
@param folder temporary folder where to download files
Expand Down Expand Up @@ -208,7 +209,7 @@ def plot_streets_network_projection(central_longitude=0.0, min_latitude=-80.0,
Returns the default projection for @see fn plot_streets_network.
See `projection <https://scitools.org.uk/cartopy/docs/v0.15/crs/projections.html>`_.
"""
import cartopy.crs as ccrs
import cartopy.crs as ccrs # pylint: disable=E0401
return ccrs.PlateCarree()


Expand Down Expand Up @@ -249,7 +250,7 @@ def plot_streets_network(edges_index, edges, vertices, shapes, order=None,
The default projection is given by @see fn plot_streets_network_projection.
https://scitools.org.uk/cartopy/docs/v0.15/examples/hurricane_katrina.html
"""
import cartopy.feature as cfeature
import cartopy.feature as cfeature # pylint: disable=E0401
import matplotlib.pyplot as plt
from matplotlib.lines import Line2D
import numpy
Expand Down

0 comments on commit cf26334

Please sign in to comment.