Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip version out of sync with readme #2

Closed
Gijs-Koot opened this issue Nov 8, 2016 · 1 comment
Closed

pip version out of sync with readme #2

Gijs-Koot opened this issue Nov 8, 2016 · 1 comment

Comments

@Gijs-Koot
Copy link

Hi. I was just checking out your package because it seemed quite useful. I can install it with conda and pip. However, the versions they install are not the ones you're using in your tutorials. As an example,

G = ox.graph_from_bbox([5.079162, 52.431064, 52.278174, 4.728759], type='drive')
ox.plot_graph(G)

errors with the following

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-6-33449b4aaa7e> in <module>()
----> 1 G = ox.graph_from_bbox([5.079162, 52.431064, 52.278174, 4.728759], type='drive')
      2 ox.plot_graph(G)

TypeError: graph_from_bbox() got an unexpected keyword argument 'type'

pip reported Successfully installed osmnx-0.1a1.

@gboeing
Copy link
Owner

gboeing commented Nov 8, 2016

I have updated the code in that blog post to make it consistent. Thanks for the heads-up.

@gboeing gboeing closed this as completed Nov 8, 2016
gboeing pushed a commit that referenced this issue Jun 7, 2019
Updating AtelierLibre fork to match gboeing master
gboeing pushed a commit that referenced this issue Dec 4, 2019
* Refactors to separate downloading capabilities from the rest

* import error

* import error

* import error

* import error

* import errors

* import errors

* import errors

* Re-instates requirements file

* Re-instates requirements file

* bypasses test by showing a different region that results in the appropriate graph

* bypasses test by showing a different region that results in the appropriate graph

* circumvents NetworkX lack of algorithm

* raises warnings on multigraph error for stats

* convert to DiGraph for betweenness centrality calculation

* add shebang

* update docker

* reverts change in test
gboeing pushed a commit that referenced this issue Oct 24, 2023
Removed comments, compressed condition clause to single check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants