Python Create Graph From Mysql Data