#10980: Make sure symbolic gridline values are okay
-------------------------------------------------+-------------------------
       Reporter:  kcrisman                       |        Owner:  jason,
           Type:  defect                         |  was
       Priority:  minor                          |       Status:  new
      Component:  graphics                       |    Milestone:
       Keywords:  beginner                       |   Resolution:
        Authors:                                 |    Merged in:
Report Upstream:  Fixed upstream, in a later     |    Reviewers:
  stable release.                                |  Work issues:
         Branch:                                 |       Commit:
   Dependencies:                                 |     Stopgaps:
-------------------------------------------------+-------------------------

Comment (by jhonrubia6):

 Replying to [comment:9 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).

 so, should this go to a ''closed'' state? or instead go to a ''need_work''
 state? in my opinion it should move to a sage-devel discussion before

--
Ticket URL: <http://trac.sagemath.org/ticket/10980#comment:11>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to