how to use ax.get_ylim() in matplotlib,"ax.axhline(1, color='black', lw=2)"