Skip to content

Visualise explanations

XWhy exposes plotting utilities through xwhy.plots.

Currently documented plots include:

  • bar plots for ranked influence;
  • waterfall and force plots for contribution direction;
  • decision plots for cumulative local effects;
  • text heatmaps for LLM explanations;
  • image and image-heatmap views for image explanations.

Use the modality tutorial to confirm which plots accept its result type:

Coming documentation

A complete plot gallery with verified outputs, accessibility descriptions, and interpretation examples is coming soon.