Version 3.0.0
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.set_rasterized

Axes.set_rasterized(rasterized)

Force rasterized (bitmap) drawing in vector backend output.

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

Parameters:
rasterized : bool or None