plot_data#

SuperLSS.plot_data(kind: str, **kwargs: Any) → Any#

Return the JSON-clean payload behind one figure, without drawing it.

kind names the payload – "qq", "worm", "pit", "binned", "actual_expected", "calibration", "scores", "comparison", "term", "risk_curves", "density_fan", "spread" or "portfolio" – and the keywords are those of the method that builds it. Every payload carries what was asked of it (levels, seeds, bin edges, draw counts), so a figure is reproducible from its payload alone and a front end can draw it without the model.