Here is what the above code is Doing:
1. We’re creating a figure object, which is the canvas on which we’ll draw our plot.
2. We’re creating an axis object, which is the actual plot.
3. We’re plotting the data.
4. We’re saving the figure to a file.