diff --git a/slr/get_slr_distributions.py b/slr/get_slr_distributions.py index 647ac39..bc4dc85 100644 --- a/slr/get_slr_distributions.py +++ b/slr/get_slr_distributions.py @@ -47,8 +47,8 @@ percentiles = dff.columns.values / 100 for i, row in dff.iterrows(): values = row.values - x_min = values.min() - 0.2 - x_max = values.max() + 0.2 + x_min = row[5] + (row[5] - row[50]) + x_max = row[95] + (row[95] - row[50]) x = np.linspace(x_min, x_max, num=1000) # Fit distribution