networkx.linalg.modularity_matrix ================================= .. currentmodule:: networkx.linalg .. autofunction:: modularity_matrix