Fix the explanations plot's labels

#2
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,8 +50,8 @@ def interpret(*args):
50
  fig_m = plt.figure(tight_layout=True)
51
  plt.barh([s[1] for s in scores_desc], [s[0] for s in scores_desc])
52
  plt.title("Feature Shap Values")
53
- plt.ylabel("Shap Value")
54
- plt.xlabel("Feature")
55
  plt.tight_layout()
56
  return fig_m
57
 
 
50
  fig_m = plt.figure(tight_layout=True)
51
  plt.barh([s[1] for s in scores_desc], [s[0] for s in scores_desc])
52
  plt.title("Feature Shap Values")
53
+ plt.ylabel("Feature")
54
+ plt.xlabel("Shap Value")
55
  plt.tight_layout()
56
  return fig_m
57