Michael Biester wrote:
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.
Hello Michael,
I tried your sample code on my system and it worked as expected. I am
using a slightly older version of numpy ('1.0.3.1').
Here is my system:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\jim.vickroy\My Documents\projects>python
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__version__
'1.0.3.1'
>>> import matplotlib
>>> matplotlib.__version__
'0.91.2'
>>>
-- jv
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()
--------------------------
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users