Skip to content

Commit 3833bbd

Browse files
committed
Addresses review comment
1 parent b2081a8 commit 3833bbd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

RATapi/utils/plotting.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,9 @@ def plot_ref_sld(
242242
"""
243243
data = PlotEventData()
244244

245-
# We need to take a copy of results and SLD in case the data to plot is modified later
245+
# We need to take a copy of reflectivity and SLD in case we are plotting a
246+
# shaded plot and will therefore change the plotted data to that from the
247+
# centre of the Bayesian distribution
246248
data.modelType = project.model
247249
data.reflectivity = copy.deepcopy(results.reflectivity)
248250
data.shiftedData = results.shiftedData

0 commit comments

Comments
 (0)