#10980: Make sure symbolic gridline values are okay
----------------------------------------------------------------+-----------
Reporter: kcrisman |
Owner: jason, was
Type: defect |
Status: new
Priority: minor |
Milestone:
Component: graphics |
Resolution:
Keywords: beginner | Work
issues:
Report Upstream: Fixed upstream, but not in a stable release. |
Reviewers:
Authors: | Merged
in:
Dependencies: |
Stopgaps:
----------------------------------------------------------------+-----------
Comment (by kcrisman):
This does actually work now, by the way.
{{{
plot(x,0,2,gridlines=([sqrt(2)],[]))
}}}
This doesn't resolve the issue of whether symbolic things should have a
`len`.
{{{
def __len__(self):
"""
Returns the number of arguments of this expression.
EXAMPLES::
sage: var('a,b,c,x,y')
(a, b, c, x, y)
sage: len(a)
0
sage: len((a^2 + b^2 + (x+y)^2))
3
sage: len((a^2))
2
sage: len(a*b^2*c)
3
"""
return self.number_of_operands()
}}}
But this has been in for at least three years (the Pynac switch).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10980#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.