python create interactive graphs