def _check_window_width(window_width):
    """Check `window_width` is odd and >=3"""
    if window_width < 3 or window_width % 2 == 0:
        raise ValueError('Window width must be an odd number and >=3')
