How to Make Horizontal Violin Plot with Seaborn in Python?

Horizontal Violin Plot with Catplot Seaborn

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?

How to Add Dollar Symbol for Axis Labels with ggplot2?

Dollar Format on axis with Scales

In this tutorial, we will learn how to format x or y-axis so that we have dollar symbol in a plot made with ggplot2 in R. Let us create a dataframe with salary education information for developers using the StackOverflow survey results. We first create two lists; one for education and the second for salary.… Continue reading How to Add Dollar Symbol for Axis Labels with ggplot2?

Scatter Plot with Marginal Histograms in Python with Seaborn

Marginal plot: Changing Histogram Color 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

How to Remove Legend in ggplot2

How to remove legend in ggplot?

In this post, we will learn how to remove a legend from a plot made with ggplot2 in R. There are a few ways to remove legend in ggplot2. We will see examples using two functions in ggplot2 to remove legend from a plot. We will first use theme() function to remove legend in ggplot2… Continue reading How to Remove Legend in ggplot2

Bar Plots with Matplotlib in Python

Bar Plot Ascending Order with Matplotlib

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

Exit mobile version