got matplotlib working