[Bug 325343] [NEW] [python-gnuplot] plot() function plots only one point of data

Kohlrabi cterasa at googlemail.com
Wed Feb 4 15:29:36 UTC 2009


Public bug reported:

Binary package hint: python-gnuplot

Kubuntu 8.04
Architecture: amd64
python-gnuplot version: 1.7.7

When creating a data set in python and trying to plot it the python-
gnuplot function plot(data) only plots one point of the data. Using the
current version from sourceforge (1.8) this bug doesn't happen, though
zooming in is not possible (which should be possible with the ubuntu
package, but this just crashes). Updating to the newsest version should
fix the bug.

example code:


import Gnuplot

data = [[3,4],[4,5],[6,8],[9,12]]

gp = Gnuplot.Gnuplot(persist = 1)

gp('set data style lines')

gp.plot(data) # this will plot only the first value

** Affects: python-gnuplot (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Binary package hint: python-gnuplot
  
  Kubuntu 8.04
  Architecture: amd64
  python-gnuplot version: 1.7.7
  
  When creating a data set in python and trying to plot it the python-
  gnuplot function plot(data) only plots one point of the data. Using the
  current version from sourceforge (1.8) this bug doesn't happen, though
  zooming in is not possible (which should be possible with the ubuntu
  package, but this just crashes). Updating to the newsest version should
  fix the bug.
  
  example code:
  
  
  import Gnuplot
  
- gp('set data style lines')
- 
  data = [[3,4],[4,5],[6,8],[9,12]]
  
  gp = Gnuplot.Gnuplot(persist = 1)
  
+ gp('set data style lines')
+ 
  gp.plot(data) # this will plot only the first value

-- 
[python-gnuplot] plot() function plots only one point of data
https://bugs.launchpad.net/bugs/325343
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list