mpl_visual_context.patheffects.CmapGlow
- class mpl_visual_context.patheffects.CmapGlow(cmap, nlevel=10, diff_linewidth=5, alpha_line: float = 0.3, xoffset=0, yoffset=0)
Patheffect similar to Glow, but with different colors basedon the given colormap.
Methods
draw_path(renderer, gc, tpath, affine, rgbFace)Draw the path with updated gc.
- __init__(cmap, nlevel=10, diff_linewidth=5, alpha_line: float = 0.3, xoffset=0, yoffset=0)
- Parameters:
offset ((float, float), default: (0, 0)) – The (x, y) offset to apply to the path, measured in points.
Methods
__init__(cmap[, nlevel, diff_linewidth, ...])draw_path(renderer, gc, tpath, affine, rgbFace)Draw the path with updated gc.