matplotlib.axes.Axes.set_rasterization_zorder

Axes.set_rasterization_zorder(z)
Parameters:
zfloat or None

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

Examples using matplotlib.axes.Axes.set_rasterization_zorder