lod2025-submission commited on
Commit
4422d37
·
verified ·
1 Parent(s): 03bd1f0

Update dashboard.py

Browse files
Files changed (1) hide show
  1. dashboard.py +1 -1
dashboard.py CHANGED
@@ -199,7 +199,7 @@ def plot_chord(df,min_value):
199
  nodes = hv.Dataset(filtered_df, 'index')
200
  nodes.data.head()
201
  chord = hv.Chord(filtered_df, ['source', 'target'], ['value'])
202
- return chord.opts(opts.Chord(cmap='Category20', edge_cmap='Category20', label_text_color="white", node_color = hv.dim('index').str(), edge_color = hv.dim('source').str(), labels = 'index', label_index='index', tools=['hover'], inspection_policy='nodes', width=800, height=800))
203
 
204
 
205
  def chordify_triples(rel_grouping, min_val):
 
199
  nodes = hv.Dataset(filtered_df, 'index')
200
  nodes.data.head()
201
  chord = hv.Chord(filtered_df, ['source', 'target'], ['value'])
202
+ return chord.opts(opts.Chord(cmap='Category20', edge_cmap='Category20', label_text_color="white", node_color = hv.dim('index').str(), edge_color = hv.dim('source').str(), labels = 'index', tools=['hover'], inspection_policy='nodes', width=800, height=800))
203
 
204
 
205
  def chordify_triples(rel_grouping, min_val):