Grouped boxplots help us visualize the relationship between three variables, two categorical variables and one quantitative variable. When we make a boxplot, it is always a good idea to add the original data points on top of the boxplot, when possible. In this post, we will learn … [Read more...] about Grouped Boxplot with Jittered Points with Seaborn Python
How to Change X and Y Axis Values from Real to Integers in ggplot2
When you make a plot with ggplot2, it automatically chooses appropriate range for x and y-axis values and it can be either floats or integers. In this post, we will see how to change X/Y-axis values to integers. In ggplot2, we can use scale_x_continuous() and scale_y_continuous() … [Read more...] about How to Change X and Y Axis Values from Real to Integers in ggplot2
How to Make Grouped Boxplot with Jittered Data Points in ggplot2
Grouped boxplots help visualize three variables in comparison to two variables with a simple boxplot. In this post we will see how to make a grouped boxplot with jittered data points with position_jitterdodge() using ggplot2 in R. We can make grouped boxplot without datapoints … [Read more...] about How to Make Grouped Boxplot with Jittered Data Points in ggplot2
How To Change Edge Color on Seaborn Scatter Plot?
Seaborn's scatterplot function allows us to make compelling scatter plots easily. In this post we will learn how to customize edge color of a scatter plot made with Seaborn. By default, Seaborn's scatter plot function colors the markers edge color to be white. In this post, … [Read more...] about How To Change Edge Color on Seaborn Scatter Plot?
How To Draw a Rectangle on a Plot in Matplotlib?
When you make data visualization one might want to highlight a specific region of the plot by adding some annotation. In this post, we will learn how to add rectangle on top of a plot made with matplotlib in Python. We will first add a simple rectangle with specific color and … [Read more...] about How To Draw a Rectangle on a Plot in Matplotlib?