From: Michael B. <mic...@go...> - 2008-01-29 20:57:26
|
Hi, I use matplotlib frequenctly on Python 2.4.x. . Recently changed to Python 2.5.1 (upgraded to numpy 1.0.4, matplotlib 0.91.2, scipy 0.6). The Tkinter graphics does not work anymore. I tried the code snippet below and got a blank window and message box: python.exe unknown software exception. I use Windows XP SP2. Any comments on this are very much appreciated. Best regards Michael ---------------------------------- import pylab as py import numpy as num t = num.arange(0.0, 2.0, 0.01) s = num.sin(2*num.pi*t) py.figure() py.plot(t, s, linewidth=1.0) py.xlabel('time (s)') py.ylabel('voltage (mV)') py.title('About as simple as it gets, folks') py.grid(True) py.show() -------------------------- |