Hi,
I think I found a bug in the command fill_between().
If I try to make a fill_between plot on an x-axis that spans both negative and positive values (and only in that case), I have some funny results.
I attach the code that gives the wrong result, the workaround I use, and their output.
Regards
figure()
fill_between(totime,vartotal-varstddv,vartotal+varstddv,color='blue',alpha=0.3)
savefig('wrong.png',format='png',dpi=150)
figure()
fill(np.concatenate((totime[::-1],totime)),np.concatenate((vartotal[::-1]-varstddv[::-1],vartotal+varstddv)),color='blue',alpha=0.25)
savefig('right.png',format='png',dpi=150)
|