Hello, when we are trying to create a baseline for a unit test that uses a scatter plot, we have noticed that pytest-mpl has not been preserving the colormap used in our scatter plot. For example, the ...
import matplotlib.pyplot as plt import numpy as np N = 3000000 x = np.random.random(N) y = np.random.random(N) c = np.random.random((N, 3)) # RGB plt.scatter(x, y, 1, c, '.') plt.show() The initial ...