Skip to content

Commit

Permalink
from_numpy_array no longer in networkx 3.0 (#353)
Browse files Browse the repository at this point in the history
* from_numpy_array

* Automated changes

* Automated changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
linogaliana and github-actions[bot] committed Feb 13, 2023
1 parent b395985 commit 7e15843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/course/manipulation/01_numpy/index.qmd
Expand Up @@ -752,7 +752,7 @@ M = np.array([[0, 0, 0, 0, 1],
#| echo: false
import networkx as nx
G = nx.from_numpy_matrix(M)
G = nx.from_numpy_array(M)
fig = plt.figure()
nx.draw(G)
plt.savefig("featured.png", bbox_inches = "tight")
Expand Down

0 comments on commit 7e15843

Please sign in to comment.