cd14 commited on
Commit
da16072
·
1 Parent(s): 352fb97

adding color to plot title and indexes

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -490,7 +490,7 @@ if st.session_state.get('button') == True:
490
 
491
  for i, bar in enumerate(bars):
492
  rounded_value = round(sel_var_values[i], 2)
493
- ax.text(bar.get_width() + 0.3, bar.get_y() + bar.get_height()/2, str(rounded_value) + '%', ha='left', va='center', fontsize=12, fontweight='bold')
494
 
495
  ax.margins(0.1,0.05)
496
 
 
490
 
491
  for i, bar in enumerate(bars):
492
  rounded_value = round(sel_var_values[i], 2)
493
+ ax.text(bar.get_width() + 0.3, bar.get_y() + bar.get_height()/2, str(rounded_value) + '%', ha='left', va='center', fontsize=12, fontweight='bold', color='y')
494
 
495
  ax.margins(0.1,0.05)
496