FDSRashid commited on
Commit
422a941
·
1 Parent(s): f585eed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def network_visualizer(yaxis, city, fstyear,lastyr, num_nodes):
49
  source = row['Teacher']
50
  target = row['Student']
51
  attribute_value = row[yaxis]
52
- edge_color = value_to_hex(np.ln(attribute_value))
53
  hadith_count = teacher_hadiths[teacher_hadiths['Teacher'] == source][yaxis].to_list()[0]
54
  student_count = student_hadiths[student_hadiths['Student'] == target][yaxis].to_list()[0]
55
 
 
49
  source = row['Teacher']
50
  target = row['Student']
51
  attribute_value = row[yaxis]
52
+ edge_color = value_to_hex(np.log10(attribute_value))
53
  hadith_count = teacher_hadiths[teacher_hadiths['Teacher'] == source][yaxis].to_list()[0]
54
  student_count = student_hadiths[student_hadiths['Student'] == target][yaxis].to_list()[0]
55