harishB97 commited on
Commit
9493629
·
verified ·
1 Parent(s): 5c71bdb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -150,7 +150,8 @@ def plot_tree_using_igraph():
150
 
151
  node_trace = go.Scatter(
152
  x=node_x, y=node_y,
153
- text=["Node {}".format(i) for i in range(len(layout.coords))],
 
154
  mode='markers+text',
155
  hoverinfo='text',
156
  marker=dict(
 
150
 
151
  node_trace = go.Scatter(
152
  x=node_x, y=node_y,
153
+ text=[id_to_node.name for i in range(len(layout.coords))],
154
+ # text=["Node {}".format(i) for i in range(len(layout.coords))],
155
  mode='markers+text',
156
  hoverinfo='text',
157
  marker=dict(