Skip to content

Commit 8ed785e

Browse files
committed
minor update to reflect version update (nx)
1 parent abf031b commit 8ed785e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

heta/HETA.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ def draw_mat(dg, ax=None, cmap=None):
618618
def draw_net(dg, pos, ax=None, color_dic=None):
619619
if ax is None:
620620
fig, ax = plt.subplots(figsize=(6,6))
621-
f = nx.draw_networkx_nodes(dg, pos=pos, ax=ax, size=3, node_color='lightgrey')
621+
f = nx.draw_networkx_nodes(dg, pos=pos, ax=ax, node_size=3, node_color='lightgrey')
622622
#f = nx.draw_networkx_labels(dg, pos=pos, ax=ax, size=3)
623623

624624
for u,v,d in dg.edges(data=True):

test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import networkx as nx
88
import matplotlib.pyplot as plt
99

10-
import heta
10+
from heta import HETA as heta
1111

1212
test_data_dir = 'data/net/'
1313
fs = sorted(os.listdir(test_data_dir))

0 commit comments

Comments
 (0)