mpl_visual_context.patheffects.ClipRect

class mpl_visual_context.patheffects.ClipRect(ax, left=None, bottom=None, right=None, top=None, coords='data')

PathEffect that modifies the clip_rect using the given coordinate (and transform). In most case, the default clip_rect is the bbox of the axes.

Methods

draw_path

__init__(ax, left=None, bottom=None, right=None, top=None, coords='data')

ax : axes instance that will be used to get the data coordinate and etc. left, bottom, right, top: values in the given coordinate. Not changed if None. coord : coordinate system. Coule be ‘data’, ‘axes fraction’, etc. Check the annotate function in Matplotlib.

Methods

__init__(ax[, left, bottom, right, top, coords])

ax : axes instance that will be used to get the data coordinate and etc.

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