matplotlib.artist.Artist.set_rasterized#

Artist.set_rasterized(rasterized)[source]#

Force rasterized (bitmap) drawing for vector graphics output.

Rasterized drawing is not supported by all artists. If you try toenable this on an artist that does not support it, the command has noeffect and a warning will be issued.

This setting is ignored for pixel-based output.

See alsoRasterization for vector graphics.

Parameters:
rasterizedbool

Examples usingmatplotlib.artist.Artist.set_rasterized#

Rasterization for vector graphics

Rasterization for vector graphics