Might want to removed "fixed" option.  Because enumerate starts from 0-index, the original code (e.g., fixed = False) computed the CDF as P(X < x) rather than as P(X <= x).  I put the fixed option in as a way to reproduce old plots, but it should probably be removed.