Skip to content

Commit 7fd0a80

Browse files
authored
Merge pull request #26 from justinkadi/2025-04-arctic
fixed typo in crs code
2 parents c8018ef + 32ec7e0 commit 7fd0a80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sections/geopandas.qmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ comm.plot(figsize=(9,9))
174174
This plot doesn't look so good. Turns out, these data are in WGS 84 (EPSG 4326), as opposed to Alaska Albers (EPSG 3338), which is what our raster data are in. To make pretty plots, and allow our raster data and vector data to be analyzed together, we'll need to reproject the vector data into 3338. To to this, we'll use the `to_crs` method on our `comm` object, and specify as an argument the projection we want to transform to.
175175

176176
```{python}
177-
comm_3338 = comm.to_crs(ships_meta["crs])
177+
comm_3338 = comm.to_crs(ships_meta["crs"])
178178
179179
comm_3338.plot()
180180
```

0 commit comments

Comments
 (0)