<｜begin▁of▁sentence｜>### Instruction:
Given a hierarchical tree graph with 10 vertices where each non-leaf vertex has 2 children, can you use PlotlyGraphDrawer in igraph to visually render and display the graph?
### Response:
import igraph as ig
from igraph.drawing import PlotlyGraphDrawer
import plotly.graph_objects as go

# Create an example graph
g = ig.Graph.Tree(10, 2)

# Create a Plotly figure
drawer_fig = go.Figure()

# Create a PlotlyGraphDrawer and draw the graph
drawer = PlotlyGraphDrawer(drawer_fig)
drawer.draw(g)

# Show the Plotly figure with the graph
drawer_fig.show()
<|EOT|>
