smpl.plot.auto

smpl.plot.auto(*adata, funcs=None, **kwargs)[source]

Automatically loop over functions and fit the best one.

Parameters

funcsfunction array

functions to consider as fit. Default all smpl.functions.

**kwargsoptional

see plot_kwargs().

Returns

The best fit function and it’s parameters. Also a lambda function where the parameters are already applied.