Matplotlib: Change Marker Size in Scatter Plot – A Beginner Example April 6, 2021cocyer In matplotlib, we can use plt.scatter() to create a scatter plot. Here is the tutorial: Matplotlib: Create a Plot Using plt.scatter() However, we also [...]
Matplotlib: Create Custom Line Plot – A Full Guide April 6, 2021cocyer It is easy to create a custom line plot in python matplotlib. In this tutorial, we will use some examples to show you [...]
Matplotlib: Save Plot to Image with Different DPI and Background Color Using plt.savefig() April 6, 2021cocyer In this tutorial, we will introduce how to save matplotlib plot to an image with different dpi and background color. 1.Import library import [...]
Matplotlib: Draw Multiple Lines with Different Color on the Same Plot April 4, 2021cocyer In order to compare values, we can use bar chart in matplotlib. Here is the tutorial: Matplotlib: Compare Values with Different Color in [...]
Matplotlib: Create Histogram Using plt.hist() March 29, 2021cocyer In this tutorial, we will use an example to show you how to creat a histogram using plt.hist() in matplotlib. 1.Import library import [...]
Matplotlib: Compare Values with Different Color in Bar Chart March 29, 2021cocyer In this tutorial, we will compare values with different color in one bar chart. You can implement it in matplotlib. 1.Import library import [...]
Matplotlib: Create Pie Chart Using plt.pie() March 29, 2021March 29, 2021cocyer In this tutorial, we will use an example to show you how to create a pie graph using plt.pie() in matplotlib. 1.Import library [...]
Matplotlib: Create Multiple Plots in One Figure Using plt.subplots() March 29, 2021cocyer In this tutorial, we will use an example to show you how to draw multiple plots in the same figure using plt.subplots() in matplotlib. [...]
Matplotlib: Create a Stack Plot Using plt.stackplot() March 29, 2021cocyer In this tutorial, we will use an example to show you how to create a stack plot using plt.stackplot() in matplotlib. 1.Import library [...]
Matplotlib: Use an Image as Plot Background March 25, 2021cocyer In this tutorial, we will use an example to show you how to use an image as the plot background for matplotlib plot. [...]