Added python code for plotting