def planted_partition_graph(l, k, p_in, p_out, seed=None, directed=False):
    return random_partition_graph([k]*l, p_in, p_out, seed, directed)
Return the planted l-partition graph.
dataset/ETHPy150Open networkx/networkx/networkx/generators/community.py/planted_partition_graph