Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.axis.Axis.set_rasterized

Axis.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