Cumulative Flow Diagram Matplotlib