Update for networkx-1.9.1