Hey Matplotlib Community,
I am trying to create a standard line plot and then overlay a fill_between plot that would partly grey out the line plot. The code snippet I am interested in is:
import matplotlib.pyplot as plot
fig = plot.figure()
p1 = fig.add_subplot(111)
p1.plot(x,y1,'r',linewidth=5)
p1.fill_between(x,0,y2,color='k',alpha='0.7')
However, the fill_between plot is not actually covering the line plot. Is there another keyword I should be using?
Thanks!
Terry
···
--
P. Therese Lang
Post Doc
Alber Lab, UC Berkeley