| 
     
      
      
      From: kristen k. <co...@ya...> - 2005-03-04 14:49:21
      
     
   | 
1) Running the dash_control.py example I get the
following error message (the problem is present on
both linux and windows installations):
Traceback (most recent call last):
  File "/usr/lib/python2.3/lib-tk/Tkinter.py", line
1345, in __call__
    return self.func(*args)
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_tkagg.py",
line 140, in resize
    self.show()
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_tkagg.py",
line 143, in draw
    FigureCanvasAgg.draw(self)
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_agg.py",
line319, in draw
    self.figure.draw(self.renderer)
  File
"/home/camp/s991416/lib/python/matplotlib/figure.py",
line 338, in draw
    for a in self.axes: a.draw(renderer)
  File
"/home/camp/s991416/lib/python/matplotlib/axes.py",
line 1296, in draw
    a.draw(renderer)
  File
"/home/camp/s991416/lib/python/matplotlib/lines.py",
line 283, in draw
    lineFunc(renderer, gc, xt, yt)
  File
"/home/camp/s991416/lib/python/matplotlib/lines.py",
line 543, in _draw_dashed
    renderer.draw_lines(gc, xt, yt, self._transform)
TypeError: CXX: type error.
2) And when using savefig I get :
Traceback (most recent call last):
  File "dash_control.py", line 13, in ?
    savefig('dash_control')
  File
"/home/camp/s991416/lib/python/matplotlib/pylab.py",
line 763, in savefig
    try: ret =  fig.savefig(*args, **kwargs)
  File
"/home/camp/s991416/lib/python/matplotlib/figure.py",
line 455, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_tkagg.py",
line 161, in print_figure
    agg.print_figure(filename, dpi, facecolor,
edgecolor, orientation)
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_agg.py",
line370, in print_figure
    self.draw()
  File
"/home/camp/s991416/lib/python/matplotlib/backends/backend_agg.py",
line319, in draw
    self.figure.draw(self.renderer)
  File
"/home/camp/s991416/lib/python/matplotlib/figure.py",
line 338, in draw
    for a in self.axes: a.draw(renderer)
  File
"/home/camp/s991416/lib/python/matplotlib/axes.py",
line 1296, in draw
    a.draw(renderer)
  File
"/home/camp/s991416/lib/python/matplotlib/lines.py",
line 283, in draw
    lineFunc(renderer, gc, xt, yt)
  File
"/home/camp/s991416/lib/python/matplotlib/lines.py",
line 543, in _draw_dashed
    renderer.draw_lines(gc, xt, yt, self._transform)
	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
 |