<human>:  Drawing a huge graph with networkX and matplotlib
<bot>: Here is some code to save current figure to file 'graph.png' with resolution of 1000 dpi

plt.savefig('graph.png', dpi=1000)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.