cd14 commited on
Commit
af5e40b
·
1 Parent(s): 62a0375

modifying the prediction view

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -478,7 +478,7 @@ if st.button('Generate Predictions'):
478
  #ax.bar_label(bars)
479
 
480
  ax.set_yticks(np.arange(len(chars)))
481
- ax.set_yticklabels(np.array(chars), fontsize=14)
482
  ax.set_title('Character Counts vs. Target Variable Rates', fontsize=18)
483
  ax.set_ylabel('Character Counts', fontsize=16)
484
  ax.set_xlabel('Target Rates %', fontsize=16)
 
478
  #ax.bar_label(bars)
479
 
480
  ax.set_yticks(np.arange(len(chars)))
481
+ ax.set_yticklabels(tuple([str(x) for x in chars]), fontsize=14)
482
  ax.set_title('Character Counts vs. Target Variable Rates', fontsize=18)
483
  ax.set_ylabel('Character Counts', fontsize=16)
484
  ax.set_xlabel('Target Rates %', fontsize=16)