title: How to make tkinter postpone canvas updates?
body: <p>Using my testing, I found that after every shape you draw on the canvas, it recalculates and draws the pixels.</p>
  
  <pre><code>c = Canvas(root)
  c.pack()
  
  c.create_line(10, 10, 50, 50)
  # Draws line on canvas immediately.
  
  c.create_line(20, 20, 60, 60)
  # Draws second line on canvas.
  </code></pre>
  
  <p>This seems highly inefficient as I'm trying to create dozens of shapes per frame (as in each simulation update). It would probably be better to wait until I've queued up all my draw commands, then tell the canvas to redraw the frame all in one go.</p>
  
  <p>So far I tried creating a canvas using the interactive shell without calling <code>mainloop</code> or even <code>update</code> on the root, but after each draw function it redrew the canvas!</p>
  
  <p>Something like this would be ideal:</p>
  
  <pre><code>c = Canvas(root)
  c.pack()
  
  c.queue_create_line(10, 10, 50, 50)
  # Don't draw line yet.
  
  c.queue_create_line(20, 20, 60, 60)
  # Also don't draw yet.
  
  c.draw_queue()
  # Finally draw both lines at once.
  </code></pre>
  
  <p>Please let me know if there is a way to fix this problem.</p>