Box Plot and Sub Plot

Introduction

Box plot basically gives a nice summary of a numerical variable like median, max, min value etc. The end of the box shows the upper and lower quartile. Extreme lines show the minimum and maximum value. The below diagram shows the summary of the boxplot.

Diagram

Sub Plots are generally used when we want to display the multiple plots in the same graph. We can use only one figure and plot multiple plots. Let’s see with the help of examples.

We have used one dataset throughout the series of matplotlib that is of Automobiles/Cars attributes and prices dataset. We have done some pre-processing in the dataset before being used for plotting. For that, you can refer to this blog.

Close Menu