matplotlib.artist.Artist.set_rasterized

Artist.set_rasterized(rasterized)[source]

Force rasterized (bitmap) drawing in vector backend output.

Defaults to None, which implies the backend's default behavior.

Parameters:
rasterizedbool or None