gboeing / osmnx-examples

Gallery of OSMnx tutorials, usage examples, and feature demonstations.
https://osmnx.readthedocs.io
MIT License
1.54k stars 522 forks source link

deletion of an excess None in 2 cells, which causes the error: "_is_endpoint() takes 3 positional arguments but 4 were given" #89

Closed titouanlegourrierec closed 4 months ago

titouanlegourrierec commented 4 months ago

Here is a screenshot of the error encountered:

image
gboeing commented 4 months ago

@titouanlegourrierec not a bug. The main branch currently uses OSMnx 2.0 beta (see migration guide) and that function takes four arguments. If you wish to run the examples on an older version of OSMnx (e.g., v1.9.x), just follow the instructions in the repo readme:

Note that this repo's main branch generally tracks the functionality of the OSMnx repo's main branch. For examples corresponding to previously released versions of OSMnx, use this repo's tags to browse by release.