<｜begin▁of▁sentence｜>### Instruction:
How can you generate and visualize an Erdős-Rényi random graph with 100 vertices and a probability of 0.1 for edge creation using the igraph library?
### Response:
import igraph as ig

# Number of vertices
n = 100

# Probability of edge creation
p = 0.1

# Generate an Erdős-Renyi graph
erdos_renyi_graph = ig.Graph.Erdos_Renyi(n, p)

# Plot the graph
ig.plot(erdos_renyi_graph, bbox=(300, 300), vertex_size=5)
<|EOT|>
