<｜begin▁of▁sentence｜>### Instruction:
Given a complete graph with 5 nodes, how can you use igraph to fit its Kamada-Kawai layout into a bounding box of 300x150 units, while keeping the aspect of the layout?
### Response:
from igraph import Graph, Layout

# Sample graph creation
graph = Graph.Full(5)
layout = graph.layout('kk')  # Kamada-Kawai layout

# Define a bounding box with width=300, height=150
bbox = (300, 150)

# Fit the layout into the given bounding box while keeping aspect ratio
layout.fit_into(bbox, keep_aspect_ratio=True)

# Plot the graph with the modified layout
ig.plot(graph, layout=layout)
<|EOT|>
