[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnucap-devel] A potential waveform viewer

From: Werner Hoch
Subject: Re: [Gnucap-devel] A potential waveform viewer
Date: Wed, 7 Jan 2009 19:51:13 +0100
User-agent: KMail/1.9.9

On Sonntag, 4. Januar 2009, Arnaud Gardelein wrote:
> It is far from perfect: memory inefficient, not optimised, certainly
> full of nasty bugs, poorly tested, and suffers from my quite recent
> knowledge of Python. So please be indulgent if ever you test it.
> Comments, suggestions, patchs, bug reports are welcomed !

I like the command structure of your program. Unfortunatly I cannot 
create a plot with it. The plot command fails:
oscopy> plot
Traceback (most recent call last):
  File "./oscopy", line 50, in <module>
    eval("cmds." + cmd + "(args)")
  File "<string>", line 1, in <module>
  File "/home/werner/Desktop/qtplot/oscopy/", line 199, in plot
    pyfig(i + 1)
  File "/usr/lib64/python2.5/site-packages/matplotlib/", line 
251, in figure
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/", 
line 92, in new_figure_manager
    figManager = FigureManagerTkAgg(canvas, num, window)
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/", 
line 351, in __init__
    self.toolbar = NavigationToolbar2TkAgg( canvas, self.window )
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/", 
line 609, in __init__
    NavigationToolbar2.__init__(self, canvas)
  File "/usr/lib64/python2.5/site-packages/matplotlib/", 
line 1742, in __init__
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/", 
line 653, in _init_toolbar
  File "/usr/lib64/python2.5/lib-tk/", line 2442, in __init__
    Widget.__init__(self, master, 'frame', cnf, {}, extra)
  File "/usr/lib64/python2.5/lib-tk/", line 1930, in __init__
    (widgetName, self._w) + extra + self._options(cnf))
_tkinter.TclError: bad screen distance "640.0"

I'm using 
  python-tk 2.5.2
  OS: openSUSE 11.0


reply via email to

[Prev in Thread] Current Thread [Next in Thread]