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 … [Read more...] about How to Make Horizontal Violin Plot with Seaborn in Python?
How to Add Dollar Symbol for Axis Labels with ggplot2?
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 … [Read more...] about How to Add Dollar Symbol for Axis Labels with ggplot2?
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 … [Read more...] about Scatter Plot with Marginal Histograms in Python with Seaborn
How to Remove Legend in ggplot2
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 … [Read more...] about How to Remove Legend in ggplot2
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 … [Read more...] about Bar Plots with Matplotlib in Python