I am trying to plot which is given in the first answer here and I am not able to get the expected plot (in fact any plot). But still, it runs without an error and prints so