Giter Club home page Giter Club logo

Comments (4)

gboeing avatar gboeing commented on May 14, 2024 2

Try to run the following code in this same notebook:

import matplotlib as mpl, matplotlib.pyplot as plt
print(mpl.__version__)
fig, ax = plt.subplots()
ax.set_facecolor('k')

Make sure it prints '2.0.0' and that it recognizes that ax does indeed have set_facecolor.

from osmnx.

gboeing avatar gboeing commented on May 14, 2024

What version of matplotlib are you using?

Note that OSMnx requires matplotlib version 2.0 or higher:

osmnx/setup.py

Line 57 in b29eea6

'matplotlib>=2.0',

from osmnx.

ABC0408 avatar ABC0408 commented on May 14, 2024

altgraph (0.13)
appdirs (1.4.3)
appnope (0.1.0)
backports.shutil-get-terminal-size (1.0.0)
bdist-mpkg (0.5.0)
bonjour-py (0.3)
branca (0.2.0)
Cerberus (1.1)
cffi (1.9.1)
click (6.7)
click-plugins (1.0.3)
cligj (0.4.0)
cryptography (1.7.2)
cycler (0.10.0)
Cython (0.25.2)
decorator (4.0.11)
descartes (1.1.0)
enum34 (1.1.6)
Fiona (1.7.4)
folium (0.3.0)
functools32 (3.2.3.post2)
future (0.15.2)
geopandas (0.2.1)
geopy (1.11.0)
idna (2.5)
ipaddress (1.0.18)
ipython (5.3.0)
ipython-genutils (0.1.0)
Jinja2 (2.9.5)
macholib (1.8)
MarkupSafe (1.0)
matplotlib (2.0.0)
modulegraph (0.14)
munch (2.1.0)
network (0.1)
networkx (1.11)
numexpr (2.6.2)
numpy (1.12.0)
osmnx (0.4)
packaging (16.8)
pandana (0.2.0)
pandas (0.19.2)
pathlib2 (2.2.1)
pexpect (4.2.1)
pickleshare (0.7.4)
PIL (1.1.7)
pip (9.0.1)
prompt-toolkit (1.0.13)
ptyprocess (0.5.1)
py2app (0.12)
pyasn1 (0.2.3)
pycparser (2.17)
Pygments (2.2.0)
pymongo (3.4.0)
pyobjc (3.2.1)
pyobjc-core (3.2.1)
pyOpenSSL (16.2.0)
pyparsing (2.2.0)
pyproj (1.9.5.1)
PySAL (1.13.0)
python-dateutil (2.6.0)
pytz (2016.10)
requests (2.13.0)
rpy2 (2.8.5)
Rtree (0.8.3)
scandir (1.5)
schema (0.6.5)
scikit-learn (0.19.dev0)
scipy (0.18.1)
setuptools (34.3.1)
Shapely (1.5.17.post1)
simplegeneric (0.8.1)
singledispatch (3.4.0.3)
six (1.10.0)
subprocess32 (3.2.7)
tables (3.3.0)
traitlets (4.3.2)
wcwidth (0.1.7)
xattr (0.9.1)
youtube-dl (2017.3.7)
zope.interface (4.3.3)

I have upgraded all the install_requires and extras_require, but it has the same error.

from osmnx.

ABC0408 avatar ABC0408 commented on May 14, 2024

HaHa,There are two versions. But now is right. Thank you very much.

from osmnx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.