Drills tagged with this skill, unpassed first. Pass them all to mark the skill ready for scenarios.
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.make_legend_chart(months, online, store) that plots two lines — online labeled "Online", store labeled "Store" (in that order) — adds a legend, and returns the axes.
Example. Pass label="Online" to the first plot call, then ax.legend() picks the labels up.
Notes. Plot Online first, Store second — the legend order follows plotting order. Labels are case-sensitive.make_styled_line(months, sales) that plots sales as a red line, sets a title mentioning "Sales", and returns the axes.
Example. color="red" in the plot call; title like "Monthly Sales".
Notes. Use the color name "red" exactly (not a hex code) — the checker reads back the color you set.