Boxes for Groups
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

Constraints
- 2 to 5 groups of 5 to 30 values each
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More matplotlib problems
- Grid of FourMedium
- Numbers on a HeatmapMedium
- Price and Its AverageMedium
- Shade the RangeMedium
- Two ScalesMedium
- Two Spreads, Same BinsMedium
- Bell Over the BarsHard
- Biggest First, With a Running ShareHard