I made the PDF which is this hist code below;
plt.figure()
values1,bins1,_ = plt.hist(np.log10(fakeclusterlum),bins=20)
plt.hist(np.log10(bigclusterlum151mh),alpha = .5,bins = bins1)
but I am not sure how to plot this to make it into a CDF? I want to plot the fakeclusterlum and bigclusterlum151mh points. if that makes sense if it doesn't I apologise, I am somewhat of a beginner!