plot_adverse_impact_ratio_by_quantile#

solas_disparity.plots.plot_adverse_impact_ratio_by_quantile(...)#

Generate a plot for an AIR-by-quantile result object.

Parameters
  • disparity (Disparity) – Disparity result.

  • column (str, optional) – Column to plot. Defaults to const.AIR_VALUES.

  • quantile (Optional[Union[str, float]], optional) – Quantile slice of the summary table to plot. If None, plot all quantiles. Defaults to None.

  • separate (bool, optional) – Whether to generate a separate figure for each quantile. Defaults to False.

  • group (Optional[str], optional) – Group slice of the summary table to plot. If None, plot all groups. Defaults to None.

Returns

A figure or list of interactive plotly figures if separate is set to True.

Return type

Union[Figure, List[Figure]]