How to Make Violin plots with Matplotlib

In this tutorial, we will learn how to make violin plots using Python’s Matplotlib library. Matplotlib has a function called violinplot() and we will use that function to examples of making violinplot first and then learn to customize the violinplots. Unlike other tutorials on violinplot with Matplotlib, here we start with data stored in a… Continue reading How to Make Violin plots with Matplotlib

How to View All Matplotlib Plot Styles and Change

Change matplotlib style to fivethirtyeight style

In this tutorial, we will learn how to change the background theme or style of a plot made with matplotlib. Matplotlib offers a number of ready to use styles to use for matplotlib plots. We will first learn how to find the available style options and then learn to set a matplotlib style of interest… Continue reading How to View All Matplotlib Plot Styles and Change

How to Make Barplots with rounded edges in ggplot

barplot with rounded edge bars in ggplot2 with ggchicklet

In this tutorial, we will learn how make bar plots with rounded edges in ggplot. We will use ggplot2 extension package called ggchicklet developed by the fantastic R developer boB Rudis/hrbrmstr. Let us get started by installing ggchicklet and loading tidyverse. We have installed ggchicklet version 0.5.2. Let us quickly generate data for making a… Continue reading How to Make Barplots with rounded edges in ggplot

Visualizing Binomial Distribution in R

Binomial Probability Distribution as Barplot

In this tutorial, we will learn how to visualize binomial distribution in R. Binomial Distribution is one of the useful discrete probability distributions that comes handy in modelling problems in a number of scenarios. The classic example of binomial distribution is tossing a coin n times and counting the number of heads (successes) for a… Continue reading Visualizing Binomial Distribution in R

Exit mobile version