<｜begin▁of▁sentence｜>### Instruction:
Given an undirected graph with edges defined in an edge list format, can you use the 'draw_undirected_edge' method provided by the MatplotlibEdgeDrawer from igraph to draw each edge onto a matplotlib plot?
### Response:
import igraph as ig
import matplotlib.pyplot as plt
from igraph.drawing import Plot

# Create a simple undirected graph
g = ig.Graph(edges=[(0, 1), (1, 2), (2, 0)])

# Create a plot with a specific backend and get the edge drawer
plot = Plot(backend='matplotlib')
ax = plot.add(g)
edge_drawer = ig.drawing.MatplotlibEdgeDrawer(ax)

# Draw the undirected edges using the edge drawer (usually this is called within plot.show())
for edge in g.es:
    edge_drawer.draw_undirected_edge(edge, g.vs[edge.source], g.vs[edge.target])

plt.show()
<|EOT|>
