我想从一个点创建图形,但是它不起作用并显示此错误:
TypeError: descriptor '_nodes' for 'NodeView' objects doesn't apply to 'NodeView' object
我的代码如下:
import osmnx as ox
coordinates=(4.604106,-74.065871)
G = ox.graph_from_point(coordinates,simplify=True,distance=400,network_type='all')
ox.plot_graph(G)
请帮助。