<｜begin▁of▁sentence｜>### Instruction:
Given a binary tree graph with 31 vertices, can you use the MatplotlibDendrogramDrawer.draw function to draw its dendrogram with the root at the top?
### Response:
from igraph import Graph, Dendrogram
from igraph.drawing.utils import MatplotlibDendrogramDrawer
import matplotlib.pyplot as plt

# Generate a graph and create a dendrogram
graph = Graph.Tree(31, 2) # Binary tree with 31 vertices.
dendro = graph.community_edge_betweenness().as_clustering().to_dendrogram()

# Draw the dendrogram
fig, ax = plt.subplots()
drawer = MatplotlibDendrogramDrawer(dendro, orientation='bt', ax=ax)
drawer.draw()
plt.show()
<|EOT|>
