Skip to content

Commit

Permalink
update format
Browse files Browse the repository at this point in the history
  • Loading branch information
aragong committed Nov 26, 2021
1 parent c96ad71 commit 0998760
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion coastline_loader/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "v0.1.0"
__version__ = "v0.1.0"
2 changes: 1 addition & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Plot from DataFrame
fig, ax = plt.subplots()
for i in df["polygon_id"].unique():
df[df["polygon_id"]==i].plot(x="longitude", y="latitude", ax=ax, legend=False)
df[df["polygon_id"] == i].plot(x="longitude", y="latitude", ax=ax, legend=False)
plt.show()

# Plot from GeoDataFrame
Expand Down
2 changes: 0 additions & 2 deletions tests/test_gshhs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@


class TestGshhs(unittest.TestCase):

def test_read_shp(self):
coast = GetCoastline(resolution="f", lonlatbox=(-10, 15, 32.5, 52.5))
self.assertIsNotNone(coast.gdf)
df = coast.to_dataframe()
self.assertIsNotNone(df)

0 comments on commit 0998760

Please # to comment.