Side by Side
Make a figure with two charts next to each other. Draw a against xs in the left one with the title "Before", and b against xs in the right one with the title "After". Return the figure.
Checked: the lines, the title and where each chart sits.
Example 1
xs [1,2,3]
a [2,4,6]
b [6,4,2]
draws

Constraints
2 <= len(xs) <= 30
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More matplotlib problems
- Zoom InEasy
- Bars in PairsMedium
- Bars on Top of BarsMedium
- Boxes for GroupsMedium
- Grid of FourMedium
- Numbers on a HeatmapMedium
- Price and Its AverageMedium
- Shade the RangeMedium