Only this week, get the SQL Complete Track of 9 courses in a special prize of $330$89!
Introduction
Line plots
7. Grids, titles and labels
Multiple histograms
Other plot types
Summary

## Instruction

Excellent! At this point, we only need some final touches to the subplot:

subplot.grid(axis='y')
subplot.set_title('Mean temperatures in Toronto and Barcelona')
subplot.set_xlabel('month')
subplot.set_ylabel('mean temperature')
• Line 1 adds horizontal lines to the y-axis to increase readability.
• Line 2 sets the title that will be visible above the subplot.
• Line 3 sets the label of the x-axis.
• Line 4 sets the label of the y-axis.
• The result looks like this:

As you can see, creating a visually appealing line plot is quite easy! Mind that you can use the set_xlabel, set_ylabel, and set_title to all kinds of plots and subplots.