Physics, Science, Programming, Deep Dives, Thoughts And Theory.
plt.scatter(self.x_dynamics[1:,0,i],self.x_dynamics[1:,1,i],color=self.colors[1:],s=20) #Remove ticks on the plot plt.xticks([]) plt.yticks([]) #Set margins to 0 plt.margins(0) #Set the limits of the box according to the box dimensions plt.xlim([0,self.box_dim[0]]) plt.ylim([0,self.box_dim[1]]) def