def axprops(dct):
    """Filters `dct` for properties associated with a plot axes.

    Example:
    >>> # Note how kwargs gets split into axes/line properties.
    >>> def myplotter(ax, x, y, **kwargs)
    >>>     ax.set(**axprops(kwargs))
    >>>     ax.plot(x, y, kwargs)
    """

    # List of included axis properties
    props = ["title", "facecolor", "aspect"]
    # Append xyz-specific props
    for ax in ["x", "y", "z"]:
        for p in ["label", "ticks", "scale", "lim"]:
            props.append(ax+p)

    # intersection(dct,props)
    props = {p: dct.pop(p) for p in props if p in dct}

    return props