From 36356d28877c02a43e8e4a9cb07190ff9552ce6f Mon Sep 17 00:00:00 2001 From: jcohenadad Date: Mon, 8 Jan 2024 23:55:23 -0500 Subject: [PATCH] Updated figure legend --- data_processing.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data_processing.ipynb b/data_processing.ipynb index 60e3cb4..2388611 100644 --- a/data_processing.ipynb +++ b/data_processing.ipynb @@ -330,7 +330,7 @@ " return uniform_filter1d(data, size=window_size, mode='nearest')\n", "\n", "# Fixed grid for x-axis\n", - "x_grid = np.linspace(0, 1, num_points)\n", + "x_grid = np.linspace(0, 1, 100)\n", "\n", "# z-slices corresponding to levels C1 to T2 on the PAM50 template. These will be used to scale the x-label of each subject.\n", "original_vector = np.array([984, 938, 907, 870, 833, 800, 769, 735, 692, 646])\n", @@ -383,7 +383,7 @@ " if method_data:\n", " # Plotting each file's data separately\n", " for resampled_data in method_data:\n", - " ax.plot(x_grid, resampled_data, label=f\"{shim_method} - {file_path.split('/')[-1]}\")\n", + " ax.plot(x_grid, resampled_data, label=f\"{shim_method}\")\n", "\n", " # Set custom x-ticks\n", " ax.set_xticks(custom_xticks)\n",