What steps will reproduce the problem?
aes248203:scitools-0.7 $ sudo python setup.py install --easyviz_backend gnuplot
after except!!!!!!!!!!!!!!!!
default scitools.easyviz backend becomes gnuplot (could be set by the
--easyviz_backend option to setup.py)
Could not import module "Gnuplot" - it is not installed on your system. You
need to install the Gnuplot.py package.
Also,
>>> from scitools.std import *
scitools.easyviz backend is gnuplot
>>> x = linspace(0, 1, 51)
>>> plot(x, sin(x))
Traceback (most recent call last):
File "<stdin>", line 1, in <module> File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac
kages/scitools/easyviz/common.py", line 3060, in plot
self.replot()
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac
kages/scitools/easyviz/gnuplot.py", line 1099, in replot
self.g.reset()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
packages/Gnuplot/Gnuplot.py", line 366, in reset
self('reset')
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
packages/Gnuplot/Gnuplot.py", line 210, in call
self.gnuplot(s)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
packages/Gnuplot/gp_macosx.py", line 144, in call
self.flush()
IOError: 32? Broken pipe
What is the expected output?
A plot of the sine function.
What do you see instead?
Nothing.
What version of the product are you using? On what operating system?
MacOSX 10.6.6, python 2.6 installed via MacPorts, Scitools 0.7
Please provide any additional information below.
Please note that both gnuplot and Gnuplot.py are installed on my system and
work fine. In particular,
$ gnuplot
Terminal type set to 'aqua'
gnuplot> plot sin(x)
works as expected, as does
$ python
>>> import Gnuplot
>>> from numpy import *
>>> g = Gnuplot.Gnuplot(debug=1)
gnuplot> set terminal aqua
>>> x = arange(10, dtype='float_')
>>> y1 = x**2
>>> d = Gnuplot.Data(x, y1)
>>> g.plot(Gnuplot.Func('x**2'))
gnuplot> plot x**2
>>>
Original issue reported on code.google.com by glen.hen...@gmail.com on 9 Feb 2011 at 8:23
Original issue reported on code.google.com by
glen.hen...@gmail.com
on 9 Feb 2011 at 8:23