diff --git a/docs/notebooks/bold_realignment.ipynb b/docs/notebooks/bold_realignment.ipynb index 888541f9..a780b757 100644 --- a/docs/notebooks/bold_realignment.ipynb +++ b/docs/notebooks/bold_realignment.ipynb @@ -245,7 +245,7 @@ "\n", "\n", "def plot_combined_profile(\n", - " images, afni_fd, nifreeze_fd, indexing=None, figsize=(15, 1.7), cmap=\"gray\", labels=None\n", + " images, _afni_fd, _nifreeze_fd, indexing=None, figsize=(15, 1.7), cmap=\"gray\", labels=None\n", "):\n", " # Calculate the number of profile plots\n", " n_images = len(images)\n", @@ -258,7 +258,7 @@ " )\n", "\n", " # Plot the framewise displacement on the first axis\n", - " fd = pd.DataFrame({\"afni\": afni_fd, \"nifreeze\": nifreeze_fd})\n", + " fd = pd.DataFrame({\"afni\": _afni_fd, \"nifreeze\": _nifreeze_fd})\n", " fd_axis = axes[0]\n", " _ = plot_framewise_displacement(fd, [\"AFNI 3dVolreg FD\", \"nifreeze FD\"], ax=fd_axis)\n", "\n", @@ -298,6 +298,8 @@ "source": [ "plot_combined_profile(\n", " (DATA_PATH / bold_runs[15], afni_realigned[15], afni_realigned[15]),\n", + " afni_fd,\n", + " nifreeze_fd,\n", " labels=(\"hmc1\", \"original\", \"hmc2\"),\n", ");" ]