Is it possible to do additive blending with matplotlib?

If you only need an image as the result, you can get the canvas buffer as a numpy array, and then do the blending, here is an example: from matplotlib import pyplot as plt import numpy as np fig, ax = plt.subplots() ax.scatter(x1,y1,c=”b”,edgecolors=”none”) ax.set_xlim(-4, 4) ax.set_ylim(-4, 4) ax.patch.set_facecolor(“none”) ax.patch.set_edgecolor(“none”) fig.canvas.draw() w, h = fig.canvas.get_width_height() img … Read more

tech