File tree 2 files changed +10
-2
lines changed 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
"""Multithreaded interactive interpreter with GTK and Matplotlib support.
3
3
4
+ WARNING:
5
+ As of 2010/06/25, this is not working, at least on Linux.
6
+ I have disabled it as a runnable script. - EF
7
+
8
+
4
9
Usage:
5
10
6
11
pyint-gtk.py -> starts shell with gtk thread running separately
@@ -183,7 +188,7 @@ class MatplotLibInterpreter(GTKInterpreter):
183
188
specific GTK hooks in it."""
184
189
185
190
def __init__ (self ,banner = None ):
186
- banner = """\n Welcome to matplotlib, a matlab -like python environment.
191
+ banner = """\n Welcome to matplotlib, a MATLAB -like python environment.
187
192
help(matlab) -> help on matlab compatible commands from matplotlib.
188
193
help(plotting) -> help on plotting commands.
189
194
"""
@@ -221,6 +226,9 @@ def pre_interact(self):
221
226
matplotlib .interactive (1 ) # turn on interaction
222
227
223
228
if __name__ == '__main__' :
229
+ print "This demo is not presently functional, so running"
230
+ print "it as a script has been disabled."
231
+ sys .exit ()
224
232
# Quick sys.argv hack to extract the option and leave filenames in sys.argv.
225
233
# For real option handling, use optparse or getopt.
226
234
if len (sys .argv ) > 1 and sys .argv [1 ]== '-pylab' :
Original file line number Diff line number Diff line change 25
25
26
26
Welcome to matplotlib.
27
27
28
- help(matplotlib) -- shows a list of all matlab(TM) compatible commands provided
28
+ help(matplotlib) -- some general information about matplotlib
29
29
help(plotting) -- shows a list of plot specific commands
30
30
31
31
"""
You can’t perform that action at this time.
0 commit comments