matplotlib.axes.Axes.set_rasterization_zorder

Axes.set_rasterization_zorder(self, z)

Set the zorder threshold for rasterization for vector graphics output.

All artists with a zorder below the given value will be rasterized if they support rasterization.

This setting is ignored for pixel-based output.

See also Rasterization for vector graphics.

Parameters:
zfloat or None

The zorder below which artists are rasterized. If None rasterization based on zorder is deactivated.

Examples using matplotlib.axes.Axes.set_rasterization_zorder

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.1/api/_as_gen/matplotlib.axes.Axes.set_rasterization_zorder.html