Version 3.1.3
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.set_rasterized

Axes.set_rasterized(self, rasterized)

Force rasterized (bitmap) drawing in vector backend output.

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

Parameters:
rasterized : bool or None