bestway to draw a graph in python