#13891: Default parameters for Graph.plot() and Graph.show()
---------------------------------+------------------------------------------
       Reporter:  ncohen         |         Owner:  jason, ncohen, rlm           
         
           Type:  enhancement    |        Status:  closed                       
         
       Priority:  major          |     Milestone:  sage-5.7                     
         
      Component:  graph theory   |    Resolution:  fixed                        
         
       Keywords:                 |   Work issues:                               
         
Report Upstream:  N/A            |     Reviewers:  Punarbasu Purkayastha, 
Sébastien Labbé
        Authors:  Nathann Cohen  |     Merged in:  sage-5.7.beta3               
         
   Dependencies:  #13862         |      Stopgaps:                               
         
---------------------------------+------------------------------------------

Comment (by ncohen):

 > This has annoyed the hell out of me about 100 times in the last month:

 Your turn. Silently ignored arguments annoyed the hell out of me for a
 while too. I had no idea why nothing happened.

 > I strongly disagree with this deprecation.  It is an extremely useful
 feature that the plotting functions hold their arguments, then pass the
 unused arguments on to show, just like the do (by design!) in 3d graphics,
 and did do (by design!) for many years in 2d graphics.

 I have nothing against passing arguments from a function to another. I
 have something against failing silently. Now we have a list of arguments
 which are understood and used by show/plot, and you can use that to check
 that what you forward to another function will actually be used. You can
 also do the same everywhere else, and add these flags to the the
 documentation, which is far from being a rule everywhere else.

 http://www.sagemath.org/doc/reference/plotting/sage/graphs/graph_plot.html

 Nathann

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13891#comment:57>
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 http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to