Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brandones committed May 20, 2024
1 parent 054d454 commit 71b9b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Draw a graph, including edges, from a mat file
>>> import graphpca
>>> mat = scipy.io.loadmat('test/bcspwr01.mat')
>>> A = mat['Problem'][0][0][1].todense() # that's just how the file came
>>> G = nx.from_numpy_matrix(A)
>>> G = nx.from_numpy_array(A)
>>> graphpca.draw_graph(G)

.. image:: output/bcspwr01-drawing.png
Expand Down

0 comments on commit 71b9b9f

Please sign in to comment.