<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph with 3 nodes and 2 edges, how can you set uniform arrow sizes to 1.5 for all edges using the 'EdgeCollection' class of igraph, and then retrieve the arrow sizes and widths for each edge?
### Response:
from igraph import Graph

# Create a directed graph
g = Graph(directed=True)

# Add 3 vertices to the graph
g.add_vertices(3)

# Add 2 edges to the graph
g.add_edges([(0, 1), (1, 2)])

# Get the EdgeCollection of the graph
e = g.es

# Set arrow sizes to 1.5 for all edges
e.set_arrow_size(1.5)

# Get the arrow sizes
arrow_sizes = e.get_arrow_size()

print('Arrow sizes:', arrow_sizes)

# Set the arrow width for the first edge
e[0].update_attributes({'arrow_width': 2.0})

# Get the arrow widths
arrow_widths = e.get_arrow_width()

print('Arrow widths:', arrow_widths)
<|EOT|>
