Skip to content

Commit 9641c38

Browse files
committed
Fix plot_goodness_of_fit scatter
Measurements and simulation were swapped in the scatter plot. The regression line was correct.
1 parent 89e9fec commit 9641c38

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)