networkx.draw() produces Process finished with exit code -1073741819 (0xC0000005)

0

I'm using Pycharm with Python 3.6. The following code produces a "Process finished with exit code -1073741819 (0xC0000005)". Error is from the line "nx.draw(G)".

import networkx as nx
import numpy as np
Ag = np.array(
[
    [0, 1, 1, 1, 0, 0, 0, 0],
    [1, 0, 1, 1, 0, 0, 0, 0],
    [1, 1, 0, 1, 0, 1, 0, 0],
    [1, 1, 1, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 1, 0, 0],
    [0, 0, 1, 0, 1, 0, 1, 0],
    [0, 0, 0, 0, 0, 1, 0, 1],
    [0, 0, 0, 0, 0, 0, 1, 0],
]
)
G = nx.from_numpy_array(Ag)
nx.draw(G)
pycharm
networkx
asked on Stack Overflow Oct 10, 2018 by user3784092

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0