#14177: More uniform handling of color_by_labels for graph plot, plot3d, 
graphviz
-------------------------------------+--------------------------------------
       Reporter:  nthiery            |         Owner:  jason, ncohen, rlm
           Type:  enhancement        |        Status:  needs_work        
       Priority:  major              |     Milestone:  sage-5.8          
      Component:  graph theory       |    Resolution:                    
       Keywords:                     |   Work issues:                    
Report Upstream:  N/A                |     Reviewers:  Nathann Cohen?    
        Authors:  Nicolas M. ThiƩry  |     Merged in:                    
   Dependencies:                     |      Stopgaps:                    
-------------------------------------+--------------------------------------

Comment (by ncohen):

 > I agree it's not perfect, as you may at first glance miss the
 information that the value can be something else than a boolean. But I did
 not find a better formulation without being heavy in the formaluation.
 Better suggestions welcome. Maybe something like:
 > {{{
 >         - ``color_by_label`` - a boolean, dictionary or function
 (default: False)
 >            whether to color each edge with a different color according
 >            to its label; the value can be a function or
 >            dictionary mapping labels to colors; this option is
 >            incompatible with ``edge_color`` and ``edge_colors``.
 > }}}

 Well, saying that this variable is a boolean when it is not is clearly not
 an option. What you just wrote looks nice !

 > This is exactly what this is doing currently, isn't it?

 Oh. Cool. I looked at the patch and did not see anything related with
 rainbow, nor any loop, so I assumed it did not do it, but now I realise
 that it was the former behaviour `:-)`

 Nathann

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14177#comment:7>
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