def get(name, stype, **kwargs):
    """Returns the rcParams specified in the style file given by `name` and `stype`.

    Parameters
    ----------
    name: str
        The name of the style.
    stype: str
        Any of ('context', 'style', 'palette').
    kwargs:
    - stylelib_url: str
        Overwrite the value in the local config with the specified url.
    - ignore_cache: bool
        Ignore files in the cache and force loading from the stylelib.

    Raises
    ------
    ValueError:
        If `stype` is not any of ('context', 'style', 'palette')

    Returns
    -------
    rcParams: dict
        The parameter dict of the file.
    """
    stype = str(stype)

    params = {}
    if stype in MPLS_STYPES:
        params.update(__get(name, stype, **kwargs))
    else:
        raise ValueError('unexpected stype: {}! Must be any of {!r}'.format(stype, MPLS_STYPES))

    # color palette hack
    if params.get('axes.prop_cycle'):
        params['axes.prop_cycle'] = mpl.rcsetup.cycler('color', params['axes.prop_cycle'])

    return params
Returns the rcParams specified in the style file given by `name` and `stype`.

    Parameters
    ----------
    name: str
        The name of the style.
    stype: str
        Any of ('context', 'style', 'palette').
    kwargs:
    - stylelib_url: str
        Overwrite the value in the local config with the specified url.
    - ignore_cache: bool
        Ignore files in the cache and force loading from the stylelib.

    Raises
    ------
    ValueError:
        If `stype` is not any of ('context', 'style', 'palette')

    Returns
    -------
    rcParams: dict
        The parameter dict of the file.