FunctionRacerProblemsRace

Boxes for Groups

MediummatplotlibPython

groups holds several lists of measurements. Draw a box plot with one box per group, with matplotlib's default settings: each box shows the middle half of its group, the line inside it the median, and the whiskers and dots how far the rest reaches. Return the figure.

Checked: the lines.

Example 1

groups [[1,2,3,4,5],[2,4,6,8,30]]
draws
The chart to draw in example 1 of Boxes for Groups

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