小编wal*_*lid的帖子

AttributeError:模块“matplotlib.cbook”没有属性“iterable”

当我运行这段代码时:

import networkx as nx

G = nx.complete_graph(5)

nx.draw_networkx(G)
Run Code Online (Sandbox Code Playgroud)

我收到这个错误:AttributeError: module 'matplotlib.cbook' has no attribute 'iterable'

我怎样才能摆脱这个错误?谢谢你。

PS 我在云端运行该代码,而不是在我的笔记本电脑上。

python matplotlib networkx

13
推荐指数
2
解决办法
2万
查看次数

标签 统计

matplotlib ×1

networkx ×1

python ×1