use axhline() to plot horizontal line instead of plot().