Import of the graf package fixed to python2.x.