mpl_visual_context.patheffects.AlphaGradient
- class mpl_visual_context.patheffects.AlphaGradient(alphas, extent=None, bbox=None, coords=None, axes=None, **im_kw)
Fill the path with image of the fill color of the path, with varying transparency.
Methods
draw_path(renderer, gc, tpath, affine, rgbFace)Derived should override this method.
get_image_box
- __init__(alphas, extent=None, bbox=None, coords=None, axes=None, **im_kw)
- Parameters:
offset ((float, float), default: (0, 0)) – The (x, y) offset to apply to the path, measured in points.
Methods
__init__(alphas[, extent, bbox, coords, axes])draw_path(renderer, gc, tpath, affine, rgbFace)Derived should override this method.