I just wanted to add that I'm getting the exact same error.  On a fresh, new
iMac running 10.6.8, I installed ActivePython 2.6, along with matplotlib for
2.6 on OSX.

Running example code from the matplotlib website, I get the same error-- 
the window appears with the resizing tools but otherwise blank, and the
program throws the listed Tcl error.  

Any ideas?

Thank you for your help,

Andrew


Nate Gallagher wrote:
> 
> Please help.
> -Nate
> 
> 
> ----- Forwarded Message ----
>> From: Nate Gallagher <nate.gallag...@yahoo.com>
>> To: matplotlib-users@lists.sourceforge.net
>> Sent: Mon, March 28, 2011 2:41:39 PM
>> Subject: [Matplotlib-users] Plot show() errors, Mac OS 10.6
>> 
>> operating system
>> $ uname -a
>> Darwin nate-gallaghers-macbook-pro.local  10.6.0 Darwin Kernel Version
>> 10.6.0: 
> 
>> Wed Nov 10 18:13:17 PST 2010;  root:xnu-1504.9.26~3/RELEASE_I386 i386
>> 
>> matplotlib  version:
>> matplotlib-1.0.1-python.org-32bit-py2.7-macosx10.3.dmg
>> 
>> obtained from:
>> http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/
>> 
>> no o customizations to matplotlibrc
>> 
>> $ python simple_plot.py --verbose-helpful
>> 
>> $HOME=/Users/ibook
>> CONFIGDIR=/Users/ibook/.matplotlib
>> matplotlib  data path 
>>/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/mpl-data
>>a
>> 
>> loaded  rc file 
>>/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc
>>c
>> 
>> matplotlib  version 1.0.1
>> verbose.level helpful
>> interactive is False
>> units is  False
>> platform is darwin
>> Using fontManager instance from  /Users/ibook/.matplotlib/fontList.cache
>> backend TkAgg version  8.5
>> findfont: Matching 
>>:family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=medium
>>m
>>   to Bitstream Vera Sans 
>>(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf)
>>)
>>   with score of 0.000000
>> Exception in Tkinter callback
>> Traceback (most  recent call last):
>>   File 
>>"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py",
>>,
>>   line 1410, in __call__
>>     return self.func(*args)
>>   File 
>>"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py",
>>,
>>   line 245, in resize
>>     self.show()
>>   File 
>>"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py",
>>,
>>   line 249, in draw
>>     tkagg.blit(self._tkphoto,  self.renderer._renderer, colormode=2)
>>   File 
>>"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backends/tkagg.py",
>>,
>>   line 19, in blit
>>     tk.call("PyAggImagePhoto", photoimage,  id(aggimage), colormode, 
>> id(bbox_array))
>> TclError
>> 
>> ------------------------------------------------------------------------------
>> Create  and publish websites with WebMatrix
>> Use the most popular FREE web apps or  write code yourself; 
>> WebMatrix provides all the features you need to develop  and publish 
>> your website.  http://p.sf.net/sfu/ms-webmatrix-sf
>> _______________________________________________
>> Matplotlib-users  mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>> 
> 
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself; 
> WebMatrix provides all the features you need to develop and 
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Window-appears%2C-no-graph-drawn-Fw%3A--Plot-show%28%29-errors%2C-Mac-OS-10.6-tp31279007p32267934.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to