FunctionRacerProblemsRace

Dashed and Dotted

EasymatplotlibPython

Draw a and b against xs on one chart, a first: a as a red dashed line, and b as a blue dotted line with a circle marker at each point. Return the figure.

Checked: the lines and the style and color of each line.

Example 1

xs [1,2,3]
a [2,4,6]
b [6,4,2]
draws
The chart to draw in example 1 of Dashed and Dotted

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