You are reading an old version of the documentation (v2.2.5). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.artist.Artist.set_rasterized.html
Version 2.2.5
matplotlib
Fork me on GitHub

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:
rasterized : bool or None