<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph with edges [(0, 1), (1, 2), (2, 3), (3, 0)], can you adjust the arrow sizes for all edges using the set_arrow_sizes method in igraph's EdgeCollection?
### Response:
import igraph as ig

# Create a graph
edges = [(0, 1), (1, 2), (2, 3), (3, 0)]
g = ig.Graph(edges=edges, directed=True)

# Plot the graph with custom arrow sizes
g.vs['label'] = range(g.vcount())  # Add vertex labels
g.es['width'] = 2  # Set edge widths
visual_style = {'vertex_size': 20, 'arrow_size': 2, 'margin': 30}

# Set arrow sizes for all edges
for edge in g.es:
    edge['arrow_size'] = 1.5

# Plot the graph
ig.plot(g, **visual_style)
<|EOT|>
