SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Gary P. <pa...@in...> - 2004年02月22日 19:14:48
If I start interactive2.py, it complains that ShowOn can't be imported.
Sure enough, there seems to be no method ShowOn. Or at least I can't find
it. Consequently interactive2.py loses it's charm :)
Or have I misunderstood something?
-gary
WinXP, python 2.3.3, matplotlib 5.0, GTK 2.2.4.1
From: John H. <jdh...@ac...> - 2004年02月22日 19:19:44
>>>>> "Gary" == Gary Pajer <pa...@in...> writes:
 Gary> If I start interactive2.py, it complains that ShowOn can't
 Gary> be imported. Sure enough, there seems to be no method
 Gary> ShowOn. Or at least I can't find it. Consequently
 Gary> interactive2.py loses it's charm :)
 Gary> Or have I misunderstood something?
You are using an out-of-date interactive2.py. Matplotlib recently
changed (improved!) the way it sets the interactive flags. You have
the new matplotlib module and the old interactive2.py code. Grab
the latest *.tar.gz or *.zip and use examples/interactive2.py from
that code.
Should help,
JDH
From: Gary P. <pa...@in...> - 2004年02月23日 23:22:17
> >>>>> "Gary" == Gary Pajer <pa...@in...> writes:
> 
> Gary> If I start interactive2.py, it complains that ShowOn can't
> Gary> be imported. Sure enough, there seems to be no method
> Gary> ShowOn. Or at least I can't find it. Consequently
> Gary> interactive2.py loses it's charm :)
> 
> Gary> Or have I misunderstood something?
> 
> You are using an out-of-date interactive2.py. Matplotlib recently
> changed (improved!) the way it sets the interactive flags. You have
> the new matplotlib module and the old interactive2.py code. Grab
> the latest *.tar.gz or *.zip and use examples/interactive2.py from
> that code.
> 
> Should help,
> JDH
Yes, thank you. 
From: katrin s. <sc...@ph...> - 2004年02月22日 22:56:41
Hi again,
I have given up on installing matplotlib on linux for now, i have to 
upgrade my mandrake install anyway, then I will try again. Now I have an 
issue with installing matplotlib with gtk on my windows 2000 partition:
I followed the instructions on the web page to the letter:
	installed python23
 installed pygtk2.0 
 	installed gtk in C:\GTK
	added C:\GTK\lib and C:\GTK\include to the path
	installed matplotlib
For a test i ran:
	import pygtk
	pygtk.require('2.0')
	import gtk
At this point i get a system error telling me that the dynamic link 
library libglib-2.0-0.dll could not be found on my path. This makes sense 
since there IS no file libglib-2.0-0.dll in the GTK install, only a file 
called libglib-2.0.dll.a
What is going on? What have I done wrong?
Any help would be appreciated greatly!
katrin
From: John H. <jdh...@ac...> - 2004年02月23日 01:53:44
>>>>> "katrin" == katrin schenk <sc...@ph...> writes:
 katrin> C:\GTK\lib and C:\GTK\include to the path
 ^^^
 should be C:\GTK\bin.
Also make sure you have no spaces in other entries in your path. 
Correcting your PATH will probably cure you, but if you still have
troubles you should read the FAQ entry "I cannot import gtk / gdk /
gobject" at http://matplotlib.sourceforge.net/faq.html and if you
still are having trouble after trying what is suggested there and
reading the links, you may want to consider using the wx backend.
http://matplotlib.sourceforge.net/backends.html#WX
Sorry you're having so much trouble; don't give up hope!
JDH
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /