How To Add Regression Line Per Group with Seaborn in Python?

Add Regression Line per Group to Scatter Plot

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?

How To Make Grouped Violinplot with ggplot2 in R?

Grouped Violin plot with ggplot2

In this tutorial, we will see examples of how to make grouped violinplots using ggplot2’s geom_violin() function. Violinplots are like boxplot for visualizing numerical distributions for multiple groups. In comparison to boxplot, Violin plot adds information about density of distributions to the plot. A grouped violin plot is great for visualizing multiple grouping variables. Let… Continue reading How To Make Grouped Violinplot with ggplot2 in R?

How to Make Grouped Violinplot with Seaborn in Python?

Grouped Violinplot with Seaborn Catplot

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?

6 ggplot2 themes to make your plot look better

ggplot2 theme_bw() with basesize 16

ggplot2 themes offer a great ways to change the look of a plot easily. ggplot2’s theme() function lets you control all aspects of the themes in general. However, ggplot2 has multiple built in themes that are ready to use. In tutorial, we will see examples of 6 ggplot2 themes that are available as part of… Continue reading 6 ggplot2 themes to make your plot look better

How To Make Bubble Plot with Seaborn Scatterplot in Python?

Bubble plot Seaborn color by variable

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?

Exit mobile version