Premium problem63. Shade Only Where One Curve Leads

Hard Locked

Plot y1 and y2 against x, then shade the gap between them only where y1 is greater than y2, leaving the stretches where y2 leads unshaded.

Return the Axes. fill_between takes a where condition for exactly this; filling everywhere and hoping it looks right is the thing to avoid.

Premium problem

This one's part of Premium. Unlock the full Matplotlib track plus every other premium problem on the site.

Implement solve(...)