I have a graph
community = g.community_multilevel()
layout = g.layout("kk")
plot(g, "graph.pdf", layout=layout) # Community detection?
You can pass your VertexClustering object directly to the plot function; it will automatically plot the underlying graph instead and select colors automatically for the clusters. The desired layout can be specified in the layout=... keyword argument as usual.