title: Play animation only once on click
body: <p>How can I make this animation function play once when I select any option from the drop down menu?</p>
  
  <pre><code>drop1 = ttk.OptionMenu(app, in1,'', 'Borough', 'Property Type')
  ani = animation.FuncAnimation(fig1, animate, interval = 1000)
  </code></pre>