In this post we will see examples of how to change axis labels, how to increase the size of axis labels and how to set title for the plot made using Seaborn in Python. These three are most basic customizations a plot needs to make it useful. Let us load the packages we need to … [Read more...] about Change Axis Labels, Set Title and Figure Size to Plots with Seaborn
How to Make Pairplot with Seaborn in Python?
When you have multiple variables you might want to quickly look at how each variable is distributed and how each variable is related to other variables. Basically, we are interested in histograms of each variable and scatter plots for all pairs of variables. Seaborn's … [Read more...] about How to Make Pairplot with Seaborn in Python?
How To Facet a Scatter Plot with Altair?
Faceting is a great technique to simplify a complex visualization. Faceting splits a single plot into multiple smaller plots containing subset of data corresponding to a group. This tutorial we will see an example of how to facet a scatter plot with Altair in Python. Let us … [Read more...] about How To Facet a Scatter Plot with Altair?
How to Reorder bars in barplot with ggplot2 in R
In this post, we will learn how to order bars in a barplot using ggplot2 in R. When we make barplot with ggplot2 on a character variable it places the group in alphabetical order. Here we will learn to use two functions, reorder() from base R and fct_reorder() function from … [Read more...] about How to Reorder bars in barplot with ggplot2 in R
How To Make Barplots with ggplot2 in R?
Barplots are a popular graphics that is widely used to show categorical data with retangular bars whose height represent the quantitative value the variable. In this post we will see multiple examples of making bar plots using ggplot2 in R. Let us first load tidyverse, a … [Read more...] about How To Make Barplots with ggplot2 in R?