There was an error while loading. Please reload this page.
1 parent 072c932 commit 0ea7df6Copy full SHA for 0ea7df6
1 file changed
ratapi/utils/plotting.py
@@ -168,7 +168,7 @@ def plot_ref_sld_helper(
168
# Plot confidence intervals if required
169
if confidence_intervals is not None:
170
# Calculate the divisor
171
- div = 1 if i == 0 and not q4 else 10 ** ((i / 100) * shift_value)
+ div = 1 if i == 0 and not q4 else 10 ** ((i + 1) / 100 * shift_value)
172
ref_min, ref_max = confidence_intervals["reflectivity"][i]
173
mult = (1 if not q4 else plot_data["ref"][i][0] ** 4) / div
174
ref_plot.fill_between(plot_data["ref"][i][0], ref_min * mult, ref_max * mult, alpha=0.6, color="grey")
0 commit comments