Skip to content

Commit 4eb95e1

Browse files
authored
Fix plot_goodness_of_fit scatter (#440)
Measurements and simulation were swapped in the scatter plot. The regression line was correct.
1 parent 64011e7 commit 4eb95e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

petab/v1/visualize/plot_residuals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ def plot_goodness_of_fit(
184184
fig.set_layout_engine("tight")
185185

186186
ax.scatter(
187-
petab_problem.measurement_df["measurement"],
188187
simulations_df["simulation"],
188+
petab_problem.measurement_df["measurement"],
189189
c=color,
190190
)
191191

0 commit comments

Comments
 (0)