Want more features on Pastebin? Sign Up, it's FREE!
Guest

output

By: a guest on May 27th, 2013  |  syntax: Python  |  size: 3.56 KB  |  views: 36  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ValueError                                Traceback (most recent call last)
  2. /home/gabriel/Canopy/appdata/canopy-1.0.0.1160.rh5-x86/lib/python2.7/site-packages/matplotlib/backends/backend_qt4.pyc in resizeEvent(self, event)
  3.     299         hinch = h/dpival
  4.     300         self.figure.set_size_inches( winch, hinch )
  5. --> 301         self.draw()
  6.     302         self.update()
  7.     303         QtGui.QWidget.resizeEvent(self, event)
  8.  
  9. /home/gabriel/Canopy/appdata/canopy-1.0.0.1160.rh5-x86/lib/python2.7/site-packages/matplotlib/backends/backend_qt4agg.pyc in draw(self)
  10.     146         # causes problems with code that uses the result of the
  11.     147         # draw() to update plot elements.
  12. --> 148         FigureCanvasAgg.draw(self)
  13.     149         self.update()
  14.     150
  15.  
  16. /home/gabriel/Canopy/appdata/canopy-1.0.0.1160.rh5-x86/lib/python2.7/site-packages/matplotlib/backends/backend_agg.pyc in draw(self)
  17.     437
  18.     438         try:
  19. --> 439             self.figure.draw(self.renderer)
  20.     440         finally:
  21.     441             RendererAgg.lock.release()
  22.  
  23. /home/gabriel/Canopy/appdata/canopy-1.0.0.1160.rh5-x86/lib/python2.7/site-packages/matplotlib/artist.pyc in draw_wrapper(artist, renderer, *args, **kwargs)
  24.      52     def draw_wrapper(artist, renderer, *args, **kwargs):
  25.      53         before(artist, renderer)
  26. ---> 54         draw(artist, renderer, *args, **kwargs)
  27.      55         after(artist, renderer)
  28.      56
  29.  
  30. /home/gabriel/Canopy/appdata/canopy-1.0.0.1160.rh5-x86/lib/python2.7/site-packages/matplotlib/figure.pyc in draw(self, renderer)
  31.     997         dsu.sort(key=itemgetter(0))
  32.     998         for zorder, a, func, args in dsu:
  33. --> 999             func(*args)
  34.    1000
  35.    1001         renderer.close_group('figure')
  36.  
  37. /home/gabriel/Canopy/appdata/canopy-1.0.0.1160.rh5-x86/lib/python2.7/site-packages/matplotlib/artist.pyc in draw_wrapper(artist, renderer, *args, **kwargs)
  38.      52     def draw_wrapper(artist, renderer, *args, **kwargs):
  39.      53         before(artist, renderer)
  40. ---> 54         draw(artist, renderer, *args, **kwargs)
  41.      55         after(artist, renderer)
  42.      56
  43.  
  44. /home/gabriel/Canopy/appdata/canopy-1.0.0.1160.rh5-x86/lib/python2.7/site-packages/matplotlib/axes.pyc in draw(self, renderer, inframe)
  45.    2084
  46.    2085         for zorder, a in dsu:
  47. -> 2086             a.draw(renderer)
  48.    2087
  49.    2088         renderer.close_group('axes')
  50.  
  51. /home/gabriel/Canopy/appdata/canopy-1.0.0.1160.rh5-x86/lib/python2.7/site-packages/matplotlib/artist.pyc in draw_wrapper(artist, renderer, *args, **kwargs)
  52.      52     def draw_wrapper(artist, renderer, *args, **kwargs):
  53.      53         before(artist, renderer)
  54. ---> 54         draw(artist, renderer, *args, **kwargs)
  55.      55         after(artist, renderer)
  56.      56
  57.  
  58. /home/gabriel/Canopy/appdata/canopy-1.0.0.1160.rh5-x86/lib/python2.7/site-packages/matplotlib/lines.pyc in draw(self, renderer)
  59.     571                 if marker.get_marker() != ',':
  60.     572                     # Don't scale for pixels, and don't stroke them
  61. --> 573                     marker_trans = marker_trans.scale(w)
  62.     574                 else:
  63.     575                     gc.set_linewidth(0)
  64.  
  65. /home/gabriel/Canopy/appdata/canopy-1.0.0.1160.rh5-x86/lib/python2.7/site-packages/matplotlib/transforms.pyc in scale(self, sx, sy)
  66.    1830         scale_mtx = np.array(
  67.    1831             [[sx, 0.0, 0.0], [0.0, sy, 0.0], [0.0, 0.0, 1.0]],
  68. -> 1832             np.float_)
  69.    1833         self._mtx = np.dot(scale_mtx, self._mtx)
  70.    1834         self.invalidate()
  71.  
  72. ValueError: setting an array element with a sequence.
clone this paste RAW Paste Data