Version 3.0.2
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.set_rasterization_zorder

Axes.set_rasterization_zorder(z)
Parameters:
z : float or None

zorder below which artists are rasterized. None means that artists do not get rasterized based on zorder.