Python code can run two consecutive tests and plot the obtained data.