Fill area of overlap between two normal distributions in seaborn / matplotlib
问题 I want to fill the area overlapping between two normal distributions. I've got the x min and max, but I can't figure out how to set the y boundaries. I've looked at the plt documentation and some examples. I think this related question and this one come close, but no luck. Here's what I have so far. import numpy as np import seaborn as sns import scipy.stats as stats import matplotlib.pyplot as plt pepe_calories = np.array([361, 291, 263, 284, 311, 284, 282, 228, 328, 263, 354, 302, 293, 254,