I like using sets, mostly because I feel smart when I do, although it might not actually be better. E.g.,

    try:
        lw = ({"lw", "linewidth"} & set(kwargs)).pop()
    except KeyError:
        lw = default_val