Tutorial: Your first graph with Matplotlib
Jul 2, 2021
The purpose of this tutorial is to teach you how to visualize data with matplotlib.
At the end of this tutorial, you will be able to:
- Creating a shape with a single axis
- Plotting some data on the axes
- Adding an x label to the axes
- Adding an y label to the axes
- Adding a title to the axes
First, let’s import our library.
Let’s generate data for the chart
Now we can create a simple graph.
graph of istanbul’s daily temperature values