How can we plot a curve where we have multiple realization of it like the following picture.

My try: I have tried to create something that mimics the curves in the above pictures.
import matplotlib.pyplot as plt
import numpy as np
np.random.seed(10)
x = np.repeat(np.linspace(0,10, 10)[np.newaxis,...], 5, axis=0)
s = np.diag(np.array([0.05, 0.1, 0.3, 0.01, 0.2]))
y = 1- np.sqrt(x) + np.matmul(np.diag(np.array([0.05, 0.1, 0.3, 0.01, 0.2])),np.random.randn(x.shape[0],x.shape[1]))
fig, ax = plt.subplots()
for i in range(5):
ax.plot(x[i,:],y[i,:])
plt.show()
I do not how to go further.
Note: The five curves in the below picture should be converted to one curve that has its mean in the middle and is overshadowed by the fluctuations.

