<｜begin▁of▁sentence｜>### Instruction:
Given a small Erdos-Renyi graph with 10 vertices and 20 edges, can you use the __plot__ method from the VertexClustering class in igraph to visualize the graph with its vertices colored according to the detected communities and having the community membership labels shown?
### Response:
from igraph import Graph, plot
from igraph.clustering import VertexClustering

# Create a sample graph
g = Graph.Erdos_Renyi(n=10, m=20)

# Perform a community detection algorithm to get a VertexClustering instance
vc = g.community_edge_betweenness()
clusters = vc.as_clustering()

# Plot the clustering with groups marked
plot(clusters, mark_groups=True, vertex_label=clusters.membership)
<|EOT|>
