Open skmda37 opened 2 years ago
The API example for the from_networkx() method is:
import networkx as nx graph = nx.Graph() graph.add_edge(1, 2, weight=0.2) graph.add_edge(2, 3, weight=0.9) graph.add_node(4, sig=3.1416) graph.nodes() graph = pygsp.graphs.Graph.from_networkx(graph) graph.W.toarray() graph.signals
I get the error AttributeError: type object 'Graph' has no attribute 'from_networkx' and have similar errors with the to_networkx() method and the LineGraph method.
AttributeError: type object 'Graph' has no attribute 'from_networkx'
to_networkx()
LineGraph
My version of pygsp is 0.5.1 and for networkx 2.8.4 if that helps...
Thanks in advance!
The API example for the from_networkx() method is:
I get the error
AttributeError: type object 'Graph' has no attribute 'from_networkx'
and have similar errors with theto_networkx()
method and theLineGraph
method.My version of pygsp is 0.5.1 and for networkx 2.8.4 if that helps...
Thanks in advance!