<｜begin▁of▁sentence｜>### Instruction:
Given a graph constructed with the Erdos-Renyi model of 10 nodes and 20 edges, can you use the MatplotlibDendrogramDrawer to draw the dendrogram of the graph's hierarchical clustering computed via the edge betweenness community detection method? Display the result on a plot.
### Response:
import igraph as ig
from igraph.drawing.matplotlib import MatplotlibDendrogramDrawer
import matplotlib.pyplot as plt

# Constructing the hierarchical clustering (dendrogram)
# For demonstration, create a graph with random edges and compute the dendrogram
G = ig.Graph.Erdos_Renyi(n=10, m=20)
dendrogram = G.community_edge_betweenness().as_clustering()

# Prepare a plot to draw the dendrogram
fig, ax = plt.subplots()
# Initialize the MatplotlibDendrogramDrawer with the associated Axes
drawer = MatplotlibDendrogramDrawer(ax=ax)

# Draw the dendrogram on the plot
drawer.draw(dendrogram)

# Display the dendrogram
plt.show()
<|EOT|>
