BuildlyBuildly
DashboardExercisesProfileHelp
Data Science/Module 4: Data Visualization/Matplotlib Customization2/3
Exercise·7 min·10 XP

Title and Label a Chart

Context. A chart without a title or axis labels is a guessing game. This week's temperatures need a chart someone else can read.

Your task. Write make_labeled_chart(days, temps) that plots temperature over days as a line, sets a title mentioning "Temperature", labels both axes, and returns the axes.

Example. Title "Daily Temperature", x-label "Day", y-label "Temperature (C)".

Notes. The title just has to contain the word Temperature — the exact wording is up to you. Both axis labels must be non-empty.

Previous
Scatter Hours vs Scores
Next
Add a Legend