DeprecationWarning: nx.nx_pydot.to_pydot depends on the pydot package, which has
known issues and is not actively maintained.
See https://github.com/networkx/networkx/issues/5723
A = nx.nx_pydot.to_pydot(K5) # conversion to pydot
DeprecationWarning: nx.nx_pydot.from_pydot depends on the pydot package, which has
known issues and is not actively maintained.
See https://github.com/networkx/networkx/issues/5723
_ = nx.nx_pydot.from_pydot(A) # return MultiGraph
Something to keep an eye out for. 👀