W3cubDocs

/Matplotlib 3.5

matplotlib.axes.Axes.set_rasterization_zorder

Axes.set_rasterization_zorder(z)[source]

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.5.1/api/_as_gen/matplotlib.axes.Axes.set_rasterization_zorder.html