nispace.plotting.nice_stats_labels

nispace.plotting.nice_stats_labels(string, add_dollars=True)[source]

Map an internal stat/method name (e.g. “pearson”, “cohen”) to a nicely formatted display label (e.g. “Pearson’s Rho”), optionally wrapped in matplotlib math-text dollar signs. Unrecognized strings are returned as-is.