matplotlib / 3.6 / _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 of 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/3.6.0/api/_as_gen/matplotlib.artist.Artist.set_clip_on.html