Sqlite And Matplotlib Plot Matrix