We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41d2811 commit d758338Copy full SHA for d758338
src/shapiq/plot/waterfall.py
@@ -372,7 +372,9 @@ def waterfall_plot(
372
373
Args:
374
interaction_values: The interaction values as an interaction object.
375
- feature_names: The names of the features. Defaults to ``None``.
+ feature_names: The names of the features. Defaults to ``None``. To display feature values
376
+ alongside feature names, provide strings in the format ``"value=feature"`` (e.g.,
377
+ ``"25=Age"``). The plot will show the value in gray and the feature name in black.
378
show: Whether to show the plot. Defaults to ``False``.
379
max_display: The maximum number of interactions to display. Defaults to ``10``.
380
abbreviate: Whether to abbreviate the feature names. Defaults to ``True``.
0 commit comments