How To Highlight a Time Range in Time Series Plot in Python with Matplotlib?

Highlight a Time Range Over Time Series Plot in Python with Matplotlb

Time Series Plots are line plots with x-axis being date time instead of regular quantitative or ordered categorical variable. Sometimes you might want to highlight a region on a time series plot. In this post, we will learn how to highlight a time interval with a rectangular colored block in Python using Matplotlib. Let us… Continue reading How To Highlight a Time Range in Time Series Plot in Python with Matplotlib?

How to Make Overlapping Histograms in Python with Altair?

Overlapping Histogram From Wide Data

In this post, we will learn how to make multiple overlapping histograms in Python using Altair. Using Altair, we can make overlapping histograms or layers histograms from data that is in wide form and long tidy form. We will see an example of making overlapping histograms from data in tidy form first and then from… Continue reading How to Make Overlapping Histograms in Python with Altair?

How To Order Bars in Barplot using Seaborn in Python?

Sort bars in barplot descending order with Seaborn Python

Barplots are a great way to visualize the relationship between categorical variables and their corresponding quantitative values. However, the default order of categories in Seaborn is often alphabetical, which may not be meaningful. Sorting the bars makes comparisons easier and your visualization clearer. In this tutorial, we’ll learn how to sort barplots in Seaborn in… Continue reading How To Order Bars in Barplot using Seaborn in Python?

How To Make Stripplot using Seaborn Catplot?

Stripplot using Seaborn Catplot with long data

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?

How To Highlight a Bar in Bar Chart in Altair?

Highlight a bar in barplot in Altair

Bar charts are a simple visualization that plots a quantitative variable corresponding to categorical variable as bars. Sometimes we might want to highlight a specific bar in barplot with different color compared to the rest. In this post, we will see examples of * How to Make a simple barplot or barchart with Altair? *… Continue reading How To Highlight a Bar in Bar Chart in Altair?

Exit mobile version