tdm.plot.model.calibration.plot_calibration#
- tdm.plot.model.calibration.plot_calibration(ana: Analysis, n_cells_per_bin: int = 2000, max_p: dict | float | None = None)[source]#
Plots model calibration for all cell types.
- Parameters:
ana (Analysis) – an Analysis object.
n_cells_per_bin (int, optional) – number of cells used in each point. A small number introduces
2000. (greater error in estimating the true probability. Defaults to)
max_p (float | None, optional) – sets the y-lim of the true probability axis. Defaults to None.