I want to fill an area between two lines based on a 3rd value. This is the desired output:

This is what I did so far, based on the docs here.
self.axes.fill_between(x, y1, y2, color='cyan')
I have x, y1, y2, and a 4th vector containing values that determines the coloration of the area contained between the two lines.
How can I do that in matplotlib ?

