seaborn.coefplot(formula, data, groupby=None, intercept=False, ci=95, palette='husl')

Plot the coefficients from a linear model.


formula : string

patsy formula for ols model

data : dataframe

data for the plot; formula terms must appear in columns

groupby : grouping object, optional

object to group data with to fit conditional models

intercept : bool, optional

if False, strips the intercept term before plotting

ci : float, optional

size of confidence intervals

palette : seaborn color palette, optional

palette for the horizonal plots