FunctionRacerProblemsRace

Growth on a Log Scale

EasymatplotlibPython

Something that doubles again and again looks like a wall on an ordinary chart. Draw ys against xs as a line with a logarithmic y axis, on which steady growth becomes a straight line. Return the figure.

Checked: the lines and the y scale.

Example 1

xs [0,1,2,3,4]
ys [1,2,4,8,16]
draws
The chart to draw in example 1 of Growth on a Log Scale

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