title: tkinter in Spyder
body: <p>I am trying my first steps in <code>tkinter</code>. I use <code>Spyder</code> as IDE in Python 3.5.1 |Anaconda 4.0.0.</p>
  
  <p>I want to run the very simple script below but it always crashes my Spyder. In a normal shell/bash it runs though and opens the canvas.</p>
  
  <pre><code>import tkinter as tkr
  
  tk = tkr.Tk()
  canvas = tkr.Canvas(tk, width=500, height=500)
  canvas.grid()
  tk.mainloop()
  </code></pre>
  
  <p>Under <code>Preferences</code> for the Ipython Console I already tried different settings (i.e. Qt, Automatik, Tkinter) but none of it did help.</p>
  
  <p>What am I doing wrong (and how can I do it better)?</p>
  
  <p>many thanks in advance</p>