In this tutorial, we will learn how to add regression line per group to a scatter plot with Seaborn in Python. Seaborn has multiple functions to make scatter plots between two quantitative variables. For example, we can use lmplot(), regplot(), and scatterplot() functions to make scatter plot with Seaborn. However, they differ in their ability… Continue reading How To Add Regression Line Per Group with Seaborn in Python?
Category: Python
How to Make Grouped Violinplot with Seaborn in Python?
In this tutorial, we will learn how to make group violinplots with Seaborn in Python. In Seaborn, we have atleast two ways to make violinplots using Seaborn in Pyhon. First is to use violinplot() function and make violinplot. And the second option is to use Seaborn’s catplot() function. In this post, we will start with… Continue reading How to Make Grouped Violinplot with Seaborn in Python?
How To Make Bubble Plot with Seaborn Scatterplot in Python?
Bubble plots are scatter plots with bubbles (color filled circles) instead of data points. Bubbles have different sizes based on another variable in the data. Also bubbles can be of different color based on another variable in the dataset. Let us load the libraries needed. We will use the fantastic new Penguins data, that is… Continue reading How To Make Bubble Plot with Seaborn Scatterplot in Python?
How To Place Legend Outside the Plot with Seaborn in Python?
While making plots with legend, like scatterplot, Seaborn has a nice feature that finds a suitable place for legend and puts it automatically inside the plot. This greatly helps in utilizing plotting area efficiently. However, sometimes you might want the legend outside the plot. In this tutorial, we will see an example of how to… Continue reading How To Place Legend Outside the Plot with Seaborn in Python?
How To Make Scatter Plots with Seaborn scatterplot in Python?
Scatter plots are great way to visualize two quantitative variables and their relationships. Often we can add additional variables on the scatter plot by using color, shape and size of the data points. With Seaborn in Python, we can make scatter plots in multiple ways, like lmplot(), regplot(), and scatterplot() functions. In this tutorial, we… Continue reading How To Make Scatter Plots with Seaborn scatterplot in Python?