matplotlib graph generator added