#12960: legend not properly set in Graphics().matplotlib()
-------------------------------------+--------------------------------------
       Reporter:  ppurka             |         Owner:  jason, was  
           Type:  defect             |        Status:  needs_review
       Priority:  major              |     Milestone:  sage-5.1    
      Component:  graphics           |    Resolution:              
       Keywords:  legend matplotlib  |   Work issues:              
Report Upstream:  N/A                |     Reviewers:              
        Authors:                     |     Merged in:              
   Dependencies:                     |      Stopgaps:              
-------------------------------------+--------------------------------------

Comment (by ppurka):

 Whoever wrote the legend code probably didn't want unnecessary
 initializations. I kept it the same, that is the `legend_opts` don't get
 populated unless it is absolutely required. Otherwise we could just
 initialize it in `__init__` instead of passing `@options` or `@suboptions`
 all over the place.

 If `show_legend` is None, then of course, nothing happens. If it is set to
 True, then something weird can happen. I will check this case.

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

Reply via email to