Spaces:
Sleeping
Sleeping
eaglelandsonce
commited on
Commit
•
245430a
1
Parent(s):
37fcf28
Update pages/17_Graphs2.py
Browse files- pages/17_Graphs2.py +1 -1
pages/17_Graphs2.py
CHANGED
@@ -95,7 +95,7 @@ def main():
|
|
95 |
pos = nx.spring_layout(nx_graph)
|
96 |
labels = nx.get_node_attributes(nx_graph, 'title')
|
97 |
nx.draw(nx_graph, pos, labels=labels, with_labels=True, node_color='lightblue',
|
98 |
-
node_size=
|
99 |
st.pyplot(fig)
|
100 |
|
101 |
# Display graph tensor info
|
|
|
95 |
pos = nx.spring_layout(nx_graph)
|
96 |
labels = nx.get_node_attributes(nx_graph, 'title')
|
97 |
nx.draw(nx_graph, pos, labels=labels, with_labels=True, node_color='lightblue',
|
98 |
+
node_size=3000, arrowsize=20, ax=ax) # Increased node_size to 3000
|
99 |
st.pyplot(fig)
|
100 |
|
101 |
# Display graph tensor info
|