Regression plots help in fit two-dimensional data in to a linear or polynomial curve. This helps in visualizing the relationship between two variables to understand how closely it fits a linear or polynomial of order n. Seaborn provides three functions for this purpose: regplot(), residplot(), and lmplot(). Both regplot() as well as lmplot() serve the same purpose of fitting two-dimensional data to a linear or polynomial of order n, but regplot() is an axes-level function, whereas lmplot() is a figure-level function, which enables it to use the row and col semantic variables to draw multiple regression plots in a single figure. residplot() helps fitting the curve and plotting the residuals to understand the quality of the fit.





















































