Converting downloads plot from GNU Octave to Matplotlib