FunctionRacerProblemsRace

Names on the Axis

EasymatplotlibPython

Draw values as a line at the positions 0, 1, 2, ... and show the matching name from names under each position instead of the number. Return the figure.

Checked: the lines, the x ticks and the x tick labels.

Example 1

names ["Jan","Feb","Mar"]
values [3,5,2]
draws
The chart to draw in example 1 of Names on the Axis

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More matplotlib problems