Comments (4)
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.
What version of matplotlib are you using?
Note that OSMnx requires matplotlib version 2.0 or higher:
Line 57 in b29eea6
from osmnx.
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.
HaHa,There are two versions. But now is right. Thank you very much.
from osmnx.
Related Issues (20)
- Dictionaries attributes not handled in io.load_graphml() HOT 5
- Feature Request: Adding Buffer Zone Function to OSMnx HOT 1
- Node Identification within Buffer Zone (if buffer was to be implemented) HOT 1
- PermissionError [ErrNo 13] when connecting to localhost using the latest docker image HOT 2
- Contributing guidelines link nowhere HOT 2
- Document usage limitations HOT 10
- UnicodeDecodeError in graph_from_xml on Windows Installations HOT 4
- Calling graph_from_place("Alaska", network_type="drive") throws GEOSException: TopologyException HOT 4
- Vasu HOT 1
- Unable to plot superimposed image HOT 1
- street networks graphs not working HOT 3
- AttributeError: module 'osmnx' has no attribute 'clean_intersections' HOT 2
- Removal of inner_polygons from outer_polygons (creation of holes), creates maximum one hole. HOT 5
- Include parking space data in nodes HOT 7
- Fill missing values with most common value on similar roads HOT 4
- OSMnx 2.0 Migration Guide HOT 3
- Add junction/intersection types to nodes HOT 6
- Support directed bearing/orientation distributions and plots HOT 5
- Support loading and/or merging multiple networks HOT 5
- [Meta] Enable Discussions tab on this GitHub repo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osmnx.