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

Bug #325343 reported by Kohlrabi
4
Affects Status Importance Assigned to Milestone
python-gnuplot (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

Kohlrabi (cterasa)
description: updated
Revision history for this message
Yung-Chin Oei (yungchin) wrote :

I installed the newer package from Intrepid, available at http://packages.ubuntu.com/intrepid/python-gnuplot (all its dependencies are satisfied on 8.04, too). As far as I can tell this doesn't exhibit the one-data point bug. I'm not sure how to zoom though, so I couldn't get the module to either crash or zoom, as per your report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.