Greetings,

I've encountered a problem which I can't at the moment solve.  Hopefully 
the solution is either known or obvious to someone on this forum, but I 
would appreciate any constructive input.

When I try to make a graph with the following:
p1=plot(delta.substitute(px=5,py=0,pz=1,R=1,h=10,w=1),(t,0,1))
p2=plot(diff(delta,t).substitute(px=5,py=0,pz=1,R=1,h=10,w=1),(t,0,1),color='red')
show(p1+p2,gridlines=True)

I get an error on the creation of the graphics object 'p2' stating the 
object does not have a '_set_extra_kwds' attribute.  The full traceback is 
below.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_29.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" 
+ 
_support_.preparse_worksheet_cell(base64.b64decode("cDE9cGxvdChkZWx0YS5zdWJzdGl0dXRlKHB4PTUscHk9MCxwej0xLFI9MSxoPTEwLHc9MSksKHQsMCwxKSkKcDI9cGxvdChkaWZmKGRlbHRhLHQpLnN1YnN0aXR1dGUocHg9NSxweT0wLHB6PTEsUj0xLGg9MTAsdz0xKSwodCwwLDEpLGNvbG9yPSdyZWQnKQojcDM9cGxvdCgxMDAqdC0xKjAqMSpjb3ModCoxKSsxKjUqc2luKHQqMSktMTAqMSwodCwwLDEpLGNvbG9yPSdncmVlbicpCnNob3cocDErcDIsZ3JpZGxpbmVzPVRydWUp"),globals())+"\\n");
 execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmp9QqO1f/___code___.py", line 4, in <module>
    p2=plot(diff(delta,t).substitute(px=_sage_const_5 ,py=_sage_const_0 
,pz=_sage_const_1 ,R=_sage_const_1 ,h=_sage_const_10 ,w=_sage_const_1 
),(t,_sage_const_0 ,_sage_const_1 ),color='red')
  File "/usr/lib/python2.7/site-packages/sage/misc/decorators.py", line 705, in 
wrapper
    return func(*args, **kwds)
  File "/usr/lib/python2.7/site-packages/sage/misc/decorators.py", line 550, in 
wrapper
    return func(*args, **options)
  File "/usr/lib/python2.7/site-packages/sage/plot/plot.py", line 1319, in plot
    G._set_extra_kwds(G_kwds)
  File "sage/structure/element.pyx", line 430, in 
sage.structure.element.Element.__getattr__ 
(build/cythonized/sage/structure/element.c:4627)
AttributeError: 'sage.symbolic.expression.Expression' object has no attribute 
'_set_extra_kwds'



This occurs on a worksheet that had no such error running on Fedora 20 
(which I believe is running sagemath 6.1.1-6.fc20, but I'd have to go into 
the office to double check).  This error occurs on my ArchLinux system 
running sagemath 6.7-2.  I've seen from googling around that this may have 
been a bug several years ago, so I'm guessing this is more likely a problem 
of a missing dependency on my Arch system.  Please let me know if there is 
anymore information I can provide to help solve this problem.  

Thanks,
C


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to