title: matplotlib can't work in OS X with error ' TKApplication is implemented in both'
body: <p>I am using the mac OS X Yosemite 10.10.1, I have installed matplotlib using <code>pip install matplotlib.</code></p>
  
  <p>I tried a simple application as below.</p>
  
  <pre><code>import matplotlib.pyplot as plt
  plt.plot([1,2,3,4], [1,4,9,16], 'ro')
  plt.axis([0, 6, 0, 20])
  plt.show()
  </code></pre>
  
  <p>the python application runs and show the window, but without any graph. The command line just gave me a error saying:</p>
  
  <pre><code>Class TKApplication is implemented in both /Users/xisizhe/anaconda/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
   Class TKMenu is implemented in both /Users/xisizhe/anaconda/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
  Class TKContentView is implemented in both /Users/xisizhe/anaconda/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
  Class TKWindow is implemented in both /Users/xisizhe/anaconda/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
  </code></pre>
  
  <p>How can I choose one of the two ?</p>