Skip to content

Commit

Permalink
Merge pull request #25 from gboeing/updates
Browse files Browse the repository at this point in the history
Spring updates
  • Loading branch information
gboeing authored Apr 23, 2024
2 parents cf0d9d7 + d8fda13 commit 0af1cb9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/05-geocoding-apis/lecture.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@
"ax = vacant.plot(c=\"b\", markersize=1, alpha=0.5)\n",
"\n",
"occupied = parking[parking[\"occupancystate\"] == \"OCCUPIED\"]\n",
"ax = vacant.plot(ax=ax, c=\"r\", markersize=1, alpha=0.5)"
"ax = occupied.plot(ax=ax, c=\"r\", markersize=1, alpha=0.5)"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion modules/06-spatial-data/lecture.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@
" legend_name=\"Businesses per square km\",\n",
").add_to(m)\n",
"\n",
"# add mouseover tooltip to the countries\n",
"# add mouseover tooltip to the tracts\n",
"c.geojson.add_child(folium.features.GeoJsonTooltip([\"GEOID\", \"density\"]))\n",
"\n",
"# save web map to disk\n",
Expand Down
2 changes: 1 addition & 1 deletion modules/07-urban-networks-i/lecture.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@
"metadata": {},
"outputs": [],
"source": [
"# restaurants near the empire state buildings\n",
"# restaurants near the empire state building\n",
"address = \"350 5th Ave, New York, NY 10001\"\n",
"tags = {\"amenity\": \"restaurant\"}\n",
"gdf = ox.features.features_from_address(address, tags=tags, dist=500)\n",
Expand Down

0 comments on commit 0af1cb9

Please sign in to comment.