Converting SF logos plot from GNU Octave to Matplotlib