Skip to content

Commit 4e3533f

Browse files
committed
Corrected an error unrelated to the dep nuke, but its right there and I couldn't resist.
1 parent 1e00f3a commit 4e3533f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xga/products/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This code is a part of X-ray: Generate and Analyse (XGA), a module designed for the XMM Cluster Survey (XCS).
2-
# Last modified by David J Turner (turne540@msu.edu) 25/07/2024, 17:00. Copyright (c) The Contributors
2+
# Last modified by David J Turner (turne540@msu.edu) 25/07/2024, 20:34. Copyright (c) The Contributors
33

44
import inspect
55
import os
@@ -1622,7 +1622,7 @@ def get_view(self, fig: Figure, main_ax: Axes, xscale="log", yscale="log", xlim=
16221622
line = main_ax.plot(rad_vals.value, plot_y_vals.value, label=leg_label, color=data_colour)
16231623
if self.values_err is not None:
16241624
y_errs = (self.values_err.copy() / y_norm).value
1625-
main_ax.fill_between(rad_vals, plot_y_vals.value - y_errs, plot_y_vals.value + y_errs,
1625+
main_ax.fill_between(rad_vals.value, plot_y_vals.value - y_errs, plot_y_vals.value + y_errs,
16261626
color=data_colour, linestyle='dashdot', alpha=0.7)
16271627
else:
16281628
line = main_ax.plot(rad_vals.value, plot_y_vals.value, 'x', label=leg_label, color=data_colour)

0 commit comments

Comments
 (0)