I am trying to animate a fill_between shape inside matplotlib and I don\'t know how to update the data of the PolyCollection. Take this simple example: I have two lines and
If you don't want to use anitmation, or to remove everything from your figure to update only filling, you could use this way :
call fill_lines.remove() and then call again axes_dummy.fill_between() to draw new ones. It worked in my case.
fill_lines.remove()
axes_dummy.fill_between()