Package: python-gnuplot
Version: 1.7-4
Severity: normal
Tags: patch
In python-gnuplot generated plot windows the mouse doesn't work (e.g., can not
rotate splots). The author of the following post has found the problem in an
earlier version of Gnuplot.py, and has documented the fix/workaround in this
post:
http://www.scipy.net/pipermail/ipython-user/2004-April/000282.html
After applying the said fix (which I attach as a convenient patch), I get back
full mouse functionality.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages python-gnuplot depends on:
ii gnuplot 4.0.0-2 A command-line driven interactive
ii python 2.3.4-1 An interactive high-level object-o
ii python-numeric 23.3-5 Numerical (matrix-oriented) Mathem
-- no debconf information
*** _Gnuplot.py.orig Fri Oct 17 10:28:10 2003
--- _Gnuplot.py Wed Jan 19 17:04:53 2005
***************
*** 186,190 ****
self.debug = debug
self.plotcmd = 'plot'
! self('set terminal %s' % (gp.GnuplotOpts.default_term,))
def __call__(self, s):
--- 186,191 ----
self.debug = debug
self.plotcmd = 'plot'
! # disabled: causes malfunction of mouse control and hotkeys
! #self('set terminal %s' % (gp.GnuplotOpts.default_term,))
def __call__(self, s):