Still no luck. I am not trying to run this interactively. Switching
between TkAgg and GTKAgg does not seem to do anything.
Here is the output from `python simple_plot.py --verbose-helpful`
Thanks again,
Scott.
zelakiew@...403...> python simple_plot.py --verbose-helpful
matplotlib data path /local/share/matplotlib
loaded rc file /home/zelakiew/.matplotlibrc
matplotlib version 0.64
verbose.level helpful
interactive is 0
numerix numarray 1.1.1
font search path ['/local/share/matplotlib']
loaded ttfcache file /home/zelakiew/.ttffont.cache
matplotlib data path /local/share/matplotlib
loaded rc file /home/zelakiew/.matplotlibrc
matplotlib version 0.64
verbose.level helpful
interactive is 0
backend TkAgg version 8.3
Traceback (most recent call last):
File "simple_plot.py", line 17, in ?
show()
File
"/local/lib/python2.2/site-packages/matplotlib/backends/backend_tkagg.py",
line 68, in show
manager.show()
File
"/local/lib/python2.2/site-packages/matplotlib/backends/backend_tkagg.py",
line 284, in show
self.canvas.draw()
File
"/local/lib/python2.2/site-packages/matplotlib/backends/backend_tkagg.py",
line 135, in draw
FigureCanvasAgg.draw(self)
File
"/local/lib/python2.2/site-packages/matplotlib/backends/backend_agg.py",
line 310, in draw
self.figure.draw(self.renderer)
File "/local/lib/python2.2/site-packages/matplotlib/figure.py", line 254,
in draw
for a in self.axes: a.draw(renderer)
File "/local/lib/python2.2/site-packages/matplotlib/axes.py", line 963, in
draw
self.xaxis.draw(renderer)
File "/local/lib/python2.2/site-packages/matplotlib/axis.py", line 478, in
draw
tick.draw(renderer)
File "/local/lib/python2.2/site-packages/matplotlib/axis.py", line 131, in
draw
if midPoint and self.gridOn: self.gridline.draw(renderer)
File "/local/lib/python2.2/site-packages/matplotlib/lines.py", line 234,
in draw
xt, yt = self._transform.numerix_x_y(x, y)
ValueError: x and y must be equal length sequences
···
-----Original Message-----
From: John Hunter [mailto:jdhunter@…8…]
Sent: Wednesday, November 17, 2004 4:21 PM
To: Zelakiewicz, Scott (Research)
Cc: 'Stephen Walton'; 'matplotlib-users@lists.sourceforge.net'
Subject: Re: [Matplotlib-users] Simple plot command fails
To test your installation, cd into the examples dir and try running
simple_plot.py from the unix shell.
> cd examples
> python simple_plot.py
OR you can choose your backend from the shell with
> python simple_plot.py -dTkAgg
> python simple_plot.py -dGTKAgg
If that works, almost surely you have an interactive problem that will
be cleared up with the links above. If now, rerun the script with
--verbose-helpful and report back.
Good luck,
JDH