Adding regression line to a scatterplot between two numerical variables is great way to see the linear trend. In this post, we will see two ways of making scatter plot with regression line using Seaborn in Python. And we will also see an example of customizing the scatter plot with regression line. Let us load… Continue reading How To Make Scatter Plot with Regression Line using Seaborn in Python?
Tag: Seaborn
How to Make Countplot or barplot with Seaborn Catplot?
Sometimes you might want to make countplot or barplots in Python, but the data may not in the right format. For example, you might want to make countplot/barplot of the number of things corresponding to multiple categorical variables. However, the data may in the form such that you have compute the counts per category. Seaborn’s… Continue reading How to Make Countplot or barplot with Seaborn Catplot?
How To Order Bars in Barplot using Seaborn in Python?
Barplots are great to visualize a quantitative value corresponding to categorical variables. Often it is more meaningful to make barplot sorted by the quantitative value corresponding to the bars. In this post, we will see examples of making barplot using Seaborn and sorting the bars of barplot. Let us load the packages needed to make… Continue reading How To Order Bars in Barplot using Seaborn in Python?
How To Make Stripplot using Seaborn Catplot?
Stripplots are like scatter plots but one of the variables is a categorical variable. Stripplots are a great addition to boxplots as it shows complete data on the plot. Stripplots are more useful when can add random noise called “jitter” to avoid overlapping of data points with same values. In this post, we will learn… Continue reading How To Make Stripplot using Seaborn Catplot?
Hierarchically-clustered Heatmap in Python with Seaborn Clustermap
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