top of page

Python Data Analysis Tips Seaborn lmplot

Seaborn's lmplot() helps use to examine linear relationships. Lmplot, linear model plot, performs a linear regression between x and y. We can also use the row and col arguement to groupby a categorical varaiable and plot the linear correlation between two variables in the subgroups. The lmplot sits on top of the Seaborn's FacetGrid.









Send Data Science Teacher Brandyn a message if you have any questions




dataGroups:






Using kws arguments we can control the scatterplot and lineplot functions that make up the lmplot to add extra detail to our analysis.

In Seaborn's lmplot we can see the linear relationships in categories using the row and col argument.



Use Seaborn's lmplot to plot the linear relationships in the subcategories in our dataset.




2 visualizaciones0 comentarios
bottom of page