# An Euler method based simulation of the Henon Map.importmatplotlib.pyplotasplimportnumpyasnpt_final=50000a,b=1.4,0.3ax=pl.figure().add_subplot(111)x,y=0.0,0.0fortinrange(t_final):ax.scatter(x,y,.1,color='black')new_x=1-a*x*x+ynew_y=b*xx,y=new_x,new_ypl.axis('off')pl.show()