matplotlib / 3.7 / _as_gen / matplotlib.artist.artist.set_clip_on.html

matplotlib.artist.Artist.set_clip_on

Artist.set_clip_on(b)[source]

Set whether the artist uses clipping.

When False, artists will be visible outside the Axes which can lead to unexpected results.

Parameters:
bbool

Examples using matplotlib.artist.Artist.set_clip_on

Text alignment

Text alignment

Text alignment

© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.artist.Artist.set_clip_on.html