In this post, we will see an example of how to make histogram with Matplotlib library in Python. Matplotlib’s pyplot module is designed to make a number of types of plots with Matplotlib. We will use pyplot module’s function hist() to make histograms with matplotlib. Let us load Matplotlib.pyplot and Numpy library. We will generate… Continue reading How To Make Histograms with Matplotlib in Python?
Category: Matplotlib
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 Python. Let us create… Continue reading Bar Plots with Matplotlib in Python
How To Make Bubble Plot in Python with Matplotlib?
In this post, we will learn how to make bubbleplots using Matplotlib in Python. Bubble plot is a scatterplot, but with size of the data point on the scatter plot is coded by another variable. Basically, if the third variable is larger you get a bigger circle filled with a color i.e. bigger bubble and… Continue reading How To Make Bubble Plot in Python with Matplotlib?
Simple Scatter Plot with Matplotlib in Python
Matplotlib is one of the most popular plotting libraries in Python. As the name kind of hints, Matplotlib is bases on MATLAB style interface offers powerful functions to make versatile plots with Python. In this post, we will see examples of simple scatter plot with Matplotlib’s module pyplot. Let us first load the libraries needed.… Continue reading Simple Scatter Plot with Matplotlib in Python