<｜begin▁of▁sentence｜>### Instruction:
Given that you want to generate a series of 5 colors that transition from red to blue, can you use GradientPalette's get_many function to obtain these colors from a gradient palette?
### Response:
from igraph.drawing.colors import GradientPalette

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

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