Revision: 8467
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8467&view=rev
Author:   efiring
Date:     2010-06-26 07:37:44 +0000 (Sat, 26 Jun 2010)

Log Message:
-----------
disable non-functional interactive.py demo: print message and exit.
Otherwise, this demo will hang.

Modified Paths:
--------------
    trunk/matplotlib/examples/user_interfaces/interactive.py
    trunk/matplotlib/examples/user_interfaces/interactive2.py

Modified: trunk/matplotlib/examples/user_interfaces/interactive.py
===================================================================
--- trunk/matplotlib/examples/user_interfaces/interactive.py    2010-06-24 
21:17:30 UTC (rev 8466)
+++ trunk/matplotlib/examples/user_interfaces/interactive.py    2010-06-26 
07:37:44 UTC (rev 8467)
@@ -1,6 +1,11 @@
 #!/usr/bin/env python
 """Multithreaded interactive interpreter with GTK and Matplotlib support.
 
+WARNING:
+As of 2010/06/25, this is not working, at least on Linux.
+I have disabled it as a runnable script. - EF
+
+
 Usage:
 
   pyint-gtk.py -> starts shell with gtk thread running separately
@@ -183,7 +188,7 @@
     specific GTK hooks in it."""
 
     def __init__(self,banner=None):
-        banner = """\nWelcome to matplotlib, a matlab-like python environment.
+        banner = """\nWelcome to matplotlib, a MATLAB-like python environment.
     help(matlab)   -> help on matlab compatible commands from matplotlib.
     help(plotting) -> help on plotting commands.
     """
@@ -221,6 +226,9 @@
             matplotlib.interactive(1)   # turn on interaction
 
 if __name__ == '__main__':
+    print "This demo is not presently functional, so running"
+    print "it as a script has been disabled."
+    sys.exit()
     # Quick sys.argv hack to extract the option and leave filenames in 
sys.argv.
     # For real option handling, use optparse or getopt.
     if len(sys.argv) > 1 and sys.argv[1]=='-pylab':

Modified: trunk/matplotlib/examples/user_interfaces/interactive2.py
===================================================================
--- trunk/matplotlib/examples/user_interfaces/interactive2.py   2010-06-24 
21:17:30 UTC (rev 8466)
+++ trunk/matplotlib/examples/user_interfaces/interactive2.py   2010-06-26 
07:37:44 UTC (rev 8467)
@@ -25,7 +25,7 @@
 
 Welcome to matplotlib.
 
-    help(matplotlib) -- shows a list of all matlab(TM) compatible commands 
provided
+    help(matplotlib) -- some general information about matplotlib
     help(plotting) -- shows a list of plot specific commands
 
 """


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to