Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelDiai committed Apr 2, 2021
1 parent b834652 commit 91067bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion animals.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def animals(k, n_iter, alpha, beta):
mapping[i] = animals_names[i, 0]

G = nx.relabel_nodes(G, mapping)
fig = plt.figure(figsize=(10,10))
fig = plt.figure(figsize=(12,12))
nx.draw(G, with_labels=True, font_weight='bold', width=norm_weights)
plt.title("Learned graph for the animal dataset k=%s n_iter=%s alpha=%.3f beta=%.3f" % (k , n_iter, alpha, beta))
filename = os.path.join(plots_dir, 'animals', 'graph')
Expand Down

0 comments on commit 91067bf

Please sign in to comment.