Hierarchically-clustered Heatmap in Python with Seaborn Clustermap

Hierarchical clustered heatmap with Seaborn Clustermap python

In this post, we will learn how to make hierarchically clustered heatmap in Python. We will use Saeborn’s Clustermap function to make a heat map with hierarchical clusters. Seaborn’s Clustermap is very versatile function, but we will showcase the use of the function with just one example. Let us load Pandas, Seaborn and matplotlib.pyplot to… Continue reading Hierarchically-clustered Heatmap in Python with Seaborn Clustermap

How To Make Ridgeline plot in Python with Seaborn?

How to Make Ridgeline Plot in Python?

Ridgeline plots are great to visualize numerical distributions corresponding to multiple groups or categorical variables. Ridgeline plots make density plots or histograms for each group one on top of each other and thus making it look like “a mountain range”. They are great for visualizing changes in numerical distributions over time or space. Claus Wilke… Continue reading How To Make Ridgeline plot in Python with Seaborn?

Horizontal Stripplot with Jitter using Altair in Python

Horizontal Stripplot with Jitter in Altair

In this post, we will learn how to make horizontal stripplot with jitter using Altair in Python. In an earlier post we learned step-by-step instructions to make stripplot with jitter. We will use gapminder dataset to make the stripplot with Altair. Let us load the data from web using Pandas’s read_csv() function. We will primarily… Continue reading Horizontal Stripplot with Jitter using Altair in Python

Overlapping Histograms with Matplotlib in Python

Overlapping Histograms with Matplotlib

Histograms are one of the most common ways to visualize the distribution of data. While a single histogram shows the shape of one variable, often we want to compare two or more distributions directly. In this post, we’ll learn how to plot multiple overlapping histograms using Matplotlib in Python. Setup: Import Libraries We’ll use matplotlib.pyplot… Continue reading Overlapping Histograms with Matplotlib in Python

How To Make Stripplot with Jitter in Altair Python?

Stripplot Altair with jitter

In this post we will learn how to make strip plots using Altair in Python. A simple strip plot is plotting the data as points and may not that useful. One way to make the simple striplplot more meaningful is to add random jitter. Making a stipplot with jitter in Altair is slightly tricky. Luckily,… Continue reading How To Make Stripplot with Jitter in Altair Python?

Exit mobile version