Created
May 31, 2020 08:05
-
-
Save ceteri/f66b97754d2d9d020fdebfdfb19e6b26 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| boroughs = gpd.read_file(gplt.datasets.get_path("nyc_boroughs")) | |
| collisions = gpd.read_file(gplt.datasets.get_path("nyc_collision_factors")) | |
| ax = gplt.polyplot(boroughs, projection=gcrs.AlbersEqualArea()) | |
| gplt.kdeplot(collisions, cmap="Reds", shade=True, clip=boroughs, ax=ax) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment