Double usage of plot name in unit tests "test_resampling_plot" and "test_resampling_plot_default"
In the preprocessing unit test test_resampling_plot_default
the plot which is created when running the test is saved as "pT.png" and compared to the plot "pT_default.png" saved in the preprocessing/plots folder. The test test_resampling_plot
also creates a plot saved as "pT.png" while running the tests and compares it to the plot "pT.png" saved in the preprocessing/plots folder. This way, when the comparison plots need to be updated and the directory where the plots created during the test are saved is set to the comparison plot folder, the test test_resampling_plot_default
overwrites the comparison plot of the test_resampling_plot
test. Also, the comparison plot for test_resampling_plot_default
is not updated automatically but needs to be created and saved as "pT_default.png" manually.