Skip to content

Commit b2081a8

Browse files
committed
Bug fix in q4 shaded plot
1 parent 53ba9b8 commit b2081a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RATapi/utils/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def plot_ref_sld_helper(
120120
if confidence_intervals is not None:
121121
ref_min, ref_max = confidence_intervals["reflectivity"][i]
122122
mult = (1 if not q4 else r[:, 0] ** 4) / div
123-
ref_plot.fill_between(r[:, 0], ref_min / div, ref_max / div, alpha=0.6, color="grey")
123+
ref_plot.fill_between(r[:, 0], ref_min * mult, ref_max * mult, alpha=0.6, color="grey")
124124

125125
if data.dataPresent[i]:
126126
sd_x = sd[:, 0]

0 commit comments

Comments
 (0)