matplotlib.artist.Artist.set_clip_box

Artist.set_clip_box(clipbox)[source]

Set the artist's clip Bbox.

Parameters:
clipboxBboxBase or None

Will typically be created from a TransformedBbox. For instance, TransformedBbox(Bbox([[0, 0], [1, 1]]), ax.transAxes) is the default clipping for an artist added to an Axes.

Examples using matplotlib.artist.Artist.set_clip_box

Annotating Plots

Annotating Plots

Ellipse Demo

Ellipse Demo