gnucap-devel
[Top][All Lists]
Advanced

[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/Cmd.py", line 199, in plot
    pyfig(i + 1)
  File "/usr/lib64/python2.5/site-packages/matplotlib/pyplot.py", line 
251, in figure
    **kwargs)
  
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/backend_tkagg.py", 
line 92, in new_figure_manager
    figManager = FigureManagerTkAgg(canvas, num, window)
  
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/backend_tkagg.py", 
line 351, in __init__
    self.toolbar = NavigationToolbar2TkAgg( canvas, self.window )
  
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/backend_tkagg.py", 
line 609, in __init__
    NavigationToolbar2.__init__(self, canvas)
  File "/usr/lib64/python2.5/site-packages/matplotlib/backend_bases.py", 
line 1742, in __init__
    self._init_toolbar()
  
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/backend_tkagg.py", 
line 653, in _init_toolbar
    borderwidth=2)
  File "/usr/lib64/python2.5/lib-tk/Tkinter.py", line 2442, in __init__
    Widget.__init__(self, master, 'frame', cnf, {}, extra)
  File "/usr/lib64/python2.5/lib-tk/Tkinter.py", line 1930, in __init__
    (widgetName, self._w) + extra + self._options(cnf))
_tkinter.TclError: bad screen distance "640.0"
---------

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

Regards
Werner




reply via email to

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