matplotlib.artist.Artist.set_blend_mode#

Artist.set_blend_mode(blend_mode)[source]#

Set the mode for blending/compositing.

On vector backends, not all blend modes are natively supported. See Blending and compositing artists for details.

Parameters:
blend_modeblend mode

The allowed string values are: "normal", "multiply", "screen", "overlay", "darken", "lighten", "color dodge", "color burn", "hard light", "soft light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "knockout", "erase", "clear", "atop", "xor", and "plus".