Adding right set of colors to plot can reveal a pattern that is not seen before. Seaborn Color Palettes makes it really easy to add group of suitable colors to your data visualization. In this post, we will learn how to use Seaborn Color Palettes to color a boxplot made with Seaborn. Although we illustrate… Continue reading How To Use Seaborn Color Palette to Color Boxplot
Category: Python
How To Manually Order Boxplot in Seaborn?
In this post we will learn how to manually sort boxes in boxplot when using Seaborn’s boxplot function in Python. Earlier we saw how to order a boxplot in Python by another variable, for example we ordered boxplot by mean/median using Seaborn. Sometimes, you may already know what order the boxes should be and want… Continue reading How To Manually Order Boxplot in Seaborn?
How to Make Horizontal Violin Plot with Seaborn in Python?
In this tutorial, we will learn how to make horizontal violin plot in Seaborn with Python. With Seaborn, we can use two similar functions, catplot() and violinplot() to make violin plots. Making a violinplot horizontal with Seaborn is pretty simple. All we need to do is specify the categorical variable on y-axis and the numerical… Continue reading How to Make Horizontal Violin Plot with Seaborn in Python?
Scatter Plot with Marginal Histograms in Python with Seaborn
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
Bar Plots with Matplotlib in Python
In this post, we will see how to make bar plots with Matplotlib in Python. We will first start with making simple bar plot in matplotlib and then see how to make bar plots ordered in ascending and descending order. Let us load Pandas and matplotlib to make bar charts in Python. Let us create… Continue reading Bar Plots with Matplotlib in Python