#12300: Options decorators don't print correctly when changed
------------------------+---------------------------------------------------
   Reporter:  kcrisman  |          Owner:  jason   
       Type:  defect    |         Status:  new     
   Priority:  minor     |      Milestone:  sage-5.0
  Component:  misc      |       Keywords:          
Work_issues:            |       Upstream:  N/A     
   Reviewer:            |         Author:          
     Merged:            |   Dependencies:          
------------------------+---------------------------------------------------
 Observed at #12214:
 {{{
 sage: polygon2d.options
 {'alpha': 1, 'legend_label': None, 'rgbcolor': (0, 0, 1), 'thickness': 0}
 sage: P = polygon([[1,2], [5,6], [5,0]]); P # looks blue
 sage: polygon2d.options['rgbcolor']=(1,0,0)
 sage: P = polygon([[1,2], [5,6], [5,0]]); P # looks red
 sage: polygon2d.options
 {'alpha': 1, 'legend_label': None, 'rgbcolor': (1, 0, 0), 'thickness': 0}
 sage: polygon2d.defaults()
 {'alpha': 1, 'legend_label': None, 'rgbcolor': (0, 0, 1), 'thickness': 0}
 sage: polygon2d.reset()
 sage: polygon2d.options
 {'alpha': 1, 'legend_label': None, 'rgbcolor': (1, 0, 0), 'thickness': 0}
 # so you'd think it would be still red
 sage: P = polygon([[1,2], [5,6], [5,0]]); P # but looks blue again like it
 should
 }}}
 So notice that options behave correctly, but don't print correctly for
 some reason.

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