I have a magnitude data from the observation. I would like to find the detection completeness of the magnitude. I want to plot the figure like this in python
How to