I am trying to use networkx with Python. When I run this program it get this error. Is there anything missing?
#!/usr/bin/env python import networkx as nx i
import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt
It works for me.