def split_layout_args(kwargs, skip=()):
    """
    Split a dictionary of arguments into arguments that should be applied to
    layout from arguments that should be passed forward.

    Args:
         kwargs (mapping):
            A mapping of names to values
        skip (sequence):
            A optional set of arguments that should not be assigned to layout
            arguments.

    Returns:
         A tuple of (layout_args, non_layout_args) dictionaries.
    """
    layout_args = {'center'}
    layout_args.difference_update(skip)
    in_args = {k: v for k, v in kwargs.items() if k in layout_args}
    out_args = {k: v for k, v in kwargs.items() if k not in layout_args}
    return in_args, out_args