def diverging_palette(h_neg, h_pos, s=75, l=50, sep=10, n=6, center="light",
                      as_cmap=False):
    palfunc = dark_palette if center == "dark" else light_palette
    neg = palfunc((h_neg, s, l), 128 - (sep / 2), reverse=True, input="husl")
    pos = palfunc((h_pos, s, l), 128 - (sep / 2), input="husl")
    midpoint = dict(light=[(.95, .95, .95, 1.)],
                    dark=[(.133, .133, .133, 1.)])[center]
    mid = midpoint * sep
    pal = blend_palette(np.concatenate([neg, mid,  pos]), n, as_cmap=as_cmap)
    return pal
Handle 'AuthenticationFailed' status for signer.
dataset/ETHPy150Open mwaskom/seaborn/seaborn/palettes.py/diverging_palette--crossover with--dataset/ETHPy150Open novafloss/django-docusign/django_docusign/views.py/SignatureCallbackView.signer_authenticationfailed