plot function does not work with gnuplot (easyviz)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scitools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Example code:
from scitools.std import *
t=linspace(0, 1, 100)
y=t
plot(t, y)
Error message:
Traceback (most recent call last):
File "easyviz.py", line 4, in <module>
plot(t, y)
File "/usr/lib/
self._replot()
File "/usr/lib/
self._g.reset()
File "/usr/lib/
self('reset')
File "/usr/lib/
self.gnuplot(s)
File "/usr/lib/
self.flush()
IOError: [Errno 32] Broken pipe
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python-scitools 0.9.0-1
ProcVersionSign
Uname: Linux 3.5.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Sun Apr 14 17:50:38 2013
InstallationDate: Installed on 2011-10-21 (541 days ago)
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
PackageArchitec
SourcePackage: scitools
UpgradeStatus: Upgraded to quantal on 2012-11-11 (154 days ago)
Try to start gnuplot from the command line and then run "test". Does that give you a plot? If not, try to install the gnuplot-x11 package. That should make gnuplot and scitools work as expected.
I'm not sure if this is a bug in python-scitools or python-gnuplot, but I lean towards the latter.