Sometimes when you make a scatter plot between two variables, it is also useful to have the distributions of each of the variables on the side as histograms. Scatter plots with marginal histograms on the side is a great way to do that. We can use Seaborn jointplot() function in Python to make Scatter plot… Continue reading Scatter Plot with Marginal Histograms in Python with Seaborn
Tag: Seaborn
How To Make Grouped Barplots in Python with Seaborn?
In this tutorial, we will see examples of how to make grouped barplots using Seaborn in Python. Barcharts are great when you have two variables one is numerical and the other is a categorical variable. A barplot can reveal the relationship between them. A Grouped barplot is useful when you have an additional categorical variable.… Continue reading How To Make Grouped Barplots in Python with Seaborn?
Grouped Boxplots in Python with Seaborn
In this post, we will learn how to make grouped boxplots in Python using Seaborn’s boxplot function. Grouped boxplots are a great way to visualize when you have three variables, where one of them is a numerical variable and the other two are categorical variables. Let us load the packages needed to make grouped boxplot… Continue reading Grouped Boxplots in Python with Seaborn
How to Create a Heatmap in Python with Seaborn (Step-by-Step Guide)
Heatmaps are perfect for showing patterns across two categorical axes (e.g., months × years) with a numeric value mapped to color. Heatmaps make it easy to spot seasonality, gradients, clusters, and outliers in two-dimensional data. In Python, Seaborn’s heatmap() makes it easy to build polished heatmaps with labels, colorbars, and annotations. This tutorial uses Seaborn’s… Continue reading How to Create a Heatmap in Python with Seaborn (Step-by-Step Guide)
How to Add Outline/Edge Color to Histogram in Seaborn?
In this tutorial, we will see an example of adding edge color/edge line to histograms made with Seaborn. Let us load the packages needed to make histogram with outlines using Seaborn. We will use Seattle weather data from vega_datasets to make histograms. Let us first make a histogram with Seaborn’s distplot. By default, distplot() fills… Continue reading How to Add Outline/Edge Color to Histogram in Seaborn?
