Advertisement
Guest User

Traceback Error

a guest
Nov 1st, 2016
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.27 KB | None | 0 0
  1. <matplotlib.colorbar.Colorbar object at 0x7f8866c687d0>
  2. Error in lines 31-31
  3. Traceback (most recent call last):
  4.   File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 968, in execute
  5.     exec compile(block+'\n', '', 'single') in namespace, locals
  6.   File "", line 1, in <module>
  7.   File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/smc_sagews/sage_salvus.py", line 3532, in _show_pyplot
  8.     matplotlib.pyplot.savefig(filename)
  9.   File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/matplotlib-1.5.1-py2.7-linux-x86_64.egg/matplotlib/pyplot.py", line 688, in savefig
  10.     res = fig.savefig(*args, **kwargs)
  11.   File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/matplotlib-1.5.1-py2.7-linux-x86_64.egg/matplotlib/figure.py", line 1565, in savefig
  12.     self.canvas.print_figure(*args, **kwargs)
  13.   File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/matplotlib-1.5.1-py2.7-linux-x86_64.egg/matplotlib/backend_bases.py", line 2232, in print_figure
  14.     **kwargs)
  15.   File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/matplotlib-1.5.1-py2.7-linux-x86_64.egg/matplotlib/backends/backend_svg.py", line 1206, in print_svg
  16.     return self._print_svg(filename, svgwriter, fh_to_close, **kwargs)
  17.   File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/matplotlib-1.5.1-py2.7-linux-x86_64.egg/matplotlib/backends/backend_svg.py", line 1234, in _print_svg
  18.     self.figure.draw(renderer)
  19.   File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/matplotlib-1.5.1-py2.7-linux-x86_64.egg/matplotlib/artist.py", line 61, in draw_wrapper
  20.     draw(artist, renderer, *args, **kwargs)
  21.   File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/matplotlib-1.5.1-py2.7-linux-x86_64.egg/matplotlib/figure.py", line 1159, in draw
  22.     func(*args)
  23.   File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/matplotlib-1.5.1-py2.7-linux-x86_64.egg/mpl_toolkits/mplot3d/axes3d.py", line 263, in draw
  24.     self.M = self.get_proj()
  25.   File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/matplotlib-1.5.1-py2.7-linux-x86_64.egg/mpl_toolkits/mplot3d/axes3d.py", line 981, in get_proj
  26.     xp = R[0] + np.cos(razim) * np.cos(relev) * self.dist
  27. AttributeError: 'Float' object has no attribute 'cos'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement