pdstools.adm.Plots

Plot methods for pdstools.adm.ADMDatamart.

This package decomposes the legacy Plots god-class into mixins grouped by concern. The public Plots class composes those mixins so that dm.plot.<method> continues to expose the same surface as before — no public method names, signatures or return types change.

Layout

  • _helpersrequires decorator, MetricLimits annotation helper, and small plotly building blocks reused by multiple mixins.

  • _overviewbubble_chart(), tree_map(), action_overlap(), partitioned_plot().

  • _performanceover_time(), gains_chart(), performance_volume_distribution(), proposition_success_rates().

  • _scorescore_distribution(), multiple_score_distributions().

  • _predictorspredictor_performance(), predictor_category_performance(), predictor_contribution(), predictor_performance_heatmap(), predictor_count().

  • _binningpredictor_binning(), multiple_predictor_binning(), binning_lift().

Classes

Plots

Namespace exposing all out-of-the-box ADM datamart plots.

Package Contents

class Plots(datamart: pdstools.adm.ADMDatamart.ADMDatamart)

Bases: _overview._OverviewPlotsMixin, _performance._PerformancePlotsMixin, _score._ScorePlotsMixin, _predictors._PredictorPlotsMixin, _binning._BinningPlotsMixin, _base._PlotsBase, pdstools.utils.namespaces.LazyNamespace

Namespace exposing all out-of-the-box ADM datamart plots.

Methods are defined across the _overview, _performance, _score, _predictors and _binning submodules and composed here. The class is consumed via dm.plot.<method> on an ADMDatamart instance.

Parameters:

datamart (pdstools.adm.ADMDatamart.ADMDatamart)

dependencies: ClassVar[list[str]] = ['plotly']
dependency_group = 'adm'
datamart