davda54 commited on
Commit
4a3997c
·
1 Parent(s): ef16d31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def render_dependency_tree(words, parents, labels):
24
 
25
  # Draw the graph
26
  nx.draw(G, pos, ax=ax, with_labels=True, labels=nx.get_node_attributes(G, 'label'),
27
- arrows=True, node_color='#ffffff', node_size=2000, node_shape='s', font_size=24
28
  )
29
 
30
  # Draw edge labels
 
24
 
25
  # Draw the graph
26
  nx.draw(G, pos, ax=ax, with_labels=True, labels=nx.get_node_attributes(G, 'label'),
27
+ arrows=True, node_color='#ffffff', node_size=0, node_shape='s', font_size=24, bbox = dict(facecolor = "white")
28
  )
29
 
30
  # Draw edge labels