How to plot a shapefile in matplotlib

Question:

I have a question regarding plotting a polygon shapefile in matplotlib.
The data I am working with is available here (the zip file called Delmarva_PL_House_Final.zip). The polygons coordinates are UTM 18N.

After importing it into geopandas and changing the crs as such:
df = df.to_crs(epsg=4326)
I went ahead and plotted the shapefile using the following command:
df.plot()
But this is the result I got:

enter image description here

What am I doing wrong?

Asked By: nalfahel

||

Answers:

I don’t think there is anything wrong… you just need to zoom in a bit to be able to actually see the data:

enter image description here

Answered By: Pieter