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?

How To Place Legend Outside the Plot with Seaborn in Python?

Move Legend to Outside Plot Seaborn

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 Place Legend Inside the Plot with ggplot2?

Customizing Legend Inside Scatter Plot ggplot2

By default, when we make a plot with legend using ggplot2, it places the legend outside of the plot on the right side. Sometimes one might want to place the legend inside the plot. One of the advantages of placing it inside is that we may gain additional space for the plot. In this post,… Continue reading How To Place Legend Inside the Plot with ggplot2?

Exit mobile version