Converting citations plot from GNU Octave -> Matplotlib