mpl_visual_context.patheffects.Smooth

class mpl_visual_context.patheffects.Smooth(skip_incompatible=False)

PathEffect that transform the given lines to smooth bezier path. If the path is not line (not closed), the path is not changed.

Methods

draw_path

__init__(skip_incompatible=False)

skip_incompatible : do not draw the path if incompatible. Default if False (the path is drawn as is)

Methods

__init__([skip_incompatible])

skip_incompatible : do not draw the path if incompatible.

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