If you want to generate the graph showing the dependencies of your Python modules, try pydeps.
For example, to generate the dependency graph for files in the folder top_github_scraper, I type:
<meta http-equiv="content-type" content="text/html; charset=utf-8">$ pydeps top_github_scraper
The image above is the output of the command.