From f6a9b8590e6ed3a79ddeffc08bd45147f7f75aab Mon Sep 17 00:00:00 2001 From: Antonio Ragagnin <antonio.ragagnin@inaf.it> Date: Sat, 14 Dec 2024 15:56:40 +0000 Subject: [PATCH] Update run_pm_dmo_NFW_fixed_timestep.md --- run_pm_dmo_NFW_fixed_timestep.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/run_pm_dmo_NFW_fixed_timestep.md b/run_pm_dmo_NFW_fixed_timestep.md index aa39bd2..517a753 100644 --- a/run_pm_dmo_NFW_fixed_timestep.md +++ b/run_pm_dmo_NFW_fixed_timestep.md @@ -86,10 +86,7 @@ with ( fig, ax = plt.subplots(1) ax.hist2d(p['pos'][:, 0], p['pos'][:, 1], bins=128) ax.set_aspect('equal') - path = os.path.join( - os.getenv('HW_BUILD', '.'), f'snap{ts.steps}_rank{mpi.rank}.png' - ) - fig.savefig(path, bbox_inches='tight', dpi=200) + fig.savefig(f'snap{ts.steps}_rank{mpi.rank}.png', bbox_inches='tight', dpi=200) plt.close(fig) print('Simulation finished') \ No newline at end of file -- GitLab