Python Plot Live Data Dependency In Database