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 to enable this on an artist that does not support it, the command has no effect and a warning will be issued.

This setting is ignored for pixel-based output.

See also Rasterization for vector graphics.

Parameters:
rasterizedbool

Examples using matplotlib.artist.Artist.set_rasterized#

Rasterization for vector graphics

Rasterization for vector graphics