FunctionRacerProblemsRace

One Small Chart Each

HardmatplotlibPython

rows holds one series per name. Draw them as small multiples: one row of charts, one chart per name in order, each with its series as a line against the positions 0, 1, 2, ... and its name as the title. So that the charts can be compared at a glance, give every chart the same y limits: from 0 to the largest value found in any of the series. Return the figure.

Checked: the title, where each chart sits, the lines and the y limits.

Example 1

names ["north","south"]
rows [[1,2,3],[3,9,1]]
draws
The chart to draw in example 1 of One Small Chart Each

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