Python - Plots x's instead of lines