Skip to content

get_chart_data

Scope: read · Signature: get_chart_data(family: {all|forecast|anomaly|clustering|mli|association|eda}, kind: str | None = None, subject_id: str | None = None, params: dict[str, Any] | None = None, render: {png} | None = None) -> Any

Use for curated chart series — the numbers behind a chart, never a figure.

family.kind from the allow-list: forecast.{forecast,actual_vs_predicted, residuals}, anomaly.{score_distribution,anomaly_map,top_k_table}, clustering.{cluster_map,cluster_sizes,silhouette}, mli.{model_importance, pdp,calibration}, association.network, eda.{correlation,target_correlation, missingness,outliers,distribution_alerts,category_variability}. subject_id is a DATASET id for eda., an EXPERIMENT id otherwise. Series are point-capped; a chart with many traces reaches you as its first ones (truncated, series_total — the panel draws them all), a forecast. chart as every trace from shown_from on: forecast.* takes params series= or max_ids to narrow. render="png" returns the rendered image instead. Omit kind for help: how to read each chart of family and which are fetchable (family="all" → a compact index).

Powered by: mli visualizations (mli/docs/guides/visualizations.md).