Created
May 31, 2020 08:19
-
-
Save ceteri/9ac549cab849fc2a8df336e590c6ef72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proj = gplt.crs.AlbersEqualArea( | |
central_longitude=-98, | |
central_latitude=39.5 | |
) | |
ax = gplt.voronoi( | |
continental_usa_cities, | |
hue="ELEV_IN_FT", | |
clip=contiguous_usa, | |
projection=proj, | |
cmap="Reds", | |
legend=True, | |
edgecolor="white", | |
linewidth=0.01 | |
) | |
gplt.polyplot( | |
contiguous_usa, | |
ax=ax, | |
extent=contiguous_usa.total_bounds, | |
edgecolor="black", | |
linewidth=1, | |
zorder=1 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment