Boxplots show five summary statistics, including median, derived from data to show distribution of numerical data corresponding categorical variables. Sometimes, you might want to highlight the mean values in addition to the five statistics of boxplot. In this post we will see how to show mean mark on boxplot using Seaborn in Python. We will… Continue reading How to Show Mean on Boxplot using Seaborn in Python?
Category: Python
How to Annotate Bars in Grouped Barplot in Python?
In this post we will learn examples of adding text, annotating bars in grouped barplot using matplotlib. We will first see how to make grouped barplots using Seaborn’s barplot() function and then use Matplotlib to add annotations to the grouped bars. The way to add annotation to grouped barplot is very similar to the way… Continue reading How to Annotate Bars in Grouped Barplot in Python?
How To Annotate Bars in Barplot with Matplotlib in Python?
In this post we will learn examples of adding text, annotating bars in barplot using matplotlib. We will make bar plots using Seaborn’s barplot and use Matplotlib to add annotations to the bars in barplot. Let us load Pandas, Seaborn and Matplotlib. Let us create a toy dataset using two lists. And create a Pandas… Continue reading How To Annotate Bars in Barplot with Matplotlib in Python?
How to Make a Time Series Plot with Rolling Average in Python?
Time Series plots are a great way to see a trend over a period of time. However, if the numerical variable that we are plotting in time series plot fluctuates day to day, it is often better to add a layer moving average to the time series plot. In this post, we will see examples… Continue reading How to Make a Time Series Plot with Rolling Average in Python?
How To Make Scatter Plot with Regression Line using Seaborn in Python?
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?