mpl_visual_context.patheffects.HLSaxb

class mpl_visual_context.patheffects.HLSaxb(h_ab=(1, 0), l_ab=(1, 0), s_ab=(1, 0), alpha_ab=(1, 0), clip_mode='clip')

PathEffect which modifies the color in HLS space. Given a tuple of (a, b), the new color is defiend as h’ = a * h + b, and so on. Both stroke and fill color are changed.

Methods

apply_to_color

draw_path

__init__(h_ab=(1, 0), l_ab=(1, 0), s_ab=(1, 0), alpha_ab=(1, 0), clip_mode='clip')

Methods

__init__([h_ab, l_ab, s_ab, alpha_ab, clip_mode])

apply_to_color(c)

draw_path(renderer, gc, tpath, affine, rgbFace)