<｜begin▁of▁sentence｜>### Instruction:
If you have a graph where you want to color 5 distinct groups of nodes with a gradient from red to blue, how can you use the GradientPalette.get_many function in igraph to generate a list of 5 colors for this purpose?
### Response:
from igraph.drawing.colors import GradientPalette

# Create a gradient palette ranging from red to blue
palette = GradientPalette('red', 'blue')

# Get 5 colors from the gradient palette
colors = palette.get_many(5)
print(colors)
<|EOT|>
