title: How to show feature values in shap waterfall plot?
body: <p>Looking into the shap library, I came across <a href="https://stackoverflow.com/questions/65029216/how-to-interpret-base-value-of-multi-class-classification-problem-when-using-sha">this question</a>, in which the answer showcased the waterfall plot, neat! Looking at some of the official examples <a href="https://notebook.community/slundberg/shap/notebooks/general/Explainable%20AI%20with%20Shapley%20Values" rel="nofollow noreferrer">here</a> and <a href="https://shap.readthedocs.io/en/latest/example_notebooks/api_examples/plots/waterfall.html" rel="nofollow noreferrer">here</a> I notice the plots also showcase the value of the features.</p>
  <p>The shap package contains both <code>shap.waterfall_plot</code> and <code>shap.plots.waterfall</code>, trying both on a Random Forest trained on the Iris dataset gave the same results (see one code and image example below)</p>
  <pre><code>for which_class in y.unique():
  display(
      shap.waterfall_plot(shap.Explanation(values=shap_values[int(which_class)][idx], 
                                           base_values=explainer.expected_value[int(which_class)], 
                                           feature_names=X_test.columns.tolist())
                         )
  )
  </code></pre>
  <p>In which <code>idx</code> indicates a sample in the test set I'm trying to explain. The code generates the following plot for one of the classes:
  <a href="https://i.stack.imgur.com/EZVgh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EZVgh.png" alt="enter image description here" /></a></p>
  <p>How can I get the plot to also display the feature values? I didn't see any additional arguments I could pass to the plot method</p>
  <p>Any help is greatly appreciated!</p>