def get_body_part_colour(shot):
    """
    Decide the colour of a plot element based on the shooter's body part.
    """

    body_part = shot['shot']['body_part']['name']
    if body_part == 'Right Foot':
        return 'orange'
    if body_part == 'Left Foot':
        return 'red'
    if body_part == 'Head':
        return 'magenta'

    # Else, body part == "Other"
    return 'cyan'