plotting fill_between() in pandas

Viewed 7852

I created a pandas plot from two dataframes:

ttload.plot(legend=True, figsize=(12,7))
zzload.plot(legend=False)

enter image description here

Now, I would like to use the fill_between function to generate a shaded region between 0 (the orange line) and the min and max values of the blue line.

I have saved the min and max values of blue in variables w_min and w_max.

Any ideas on how I can do that?

2 Answers
Related