mpl_visual_context.patheffects.ColorMatrix
- class mpl_visual_context.patheffects.ColorMatrix(kind)
PathEffect which modifies the color in RGB space, using a predefined color matrix. Supported matrix are ‘grayscale’, ‘sepia’, ‘nightvision’, ‘warm’ and ‘cool. Both stroke and fill color are changed.
Methods
apply_to_color
draw_path
- __init__(kind)
Methods
__init__(kind)draw_path(renderer, gc, tpath, affine, rgbFace)Attributes