I\'ve installed Anaconda with the pkg installer:
Python 2.7.10 |Continuum Analytics, Inc.| (default, May 28 2015, 17:04:42) [GCC 4.2.1 (Apple Inc. build 557
Posting since I just had this issue and this was a quick fix:
If you used pip to install:
Create ~/.matplotlib/matplotlibrc
~/.matplotlib/matplotlibrc
Add "backend: TkAgg" (without the quotations) to the file.
backend: TkAgg