Sqlite And Matplotlib Plot Multiple Lines