#8599: Allow size as an argument for point2d
------------------------+---------------------------------------------------
   Reporter:  slabbe    |       Owner:  slabbe  
       Type:  defect    |      Status:  new     
   Priority:  major     |   Milestone:  sage-4.4
  Component:  graphics  |    Keywords:          
     Author:            |    Upstream:  N/A     
   Reviewer:            |      Merged:          
Work_issues:            |  
------------------------+---------------------------------------------------
 For 3d points, one must use the argument `size`  :

 {{{
 sage: point((2,3,4), size=100)
 }}}

 But for 2d points, one must use the argument `pointsize`  :

 {{{
 sage: point((2,3), size=100)
 verbose 0 (136: primitive.py, options) WARNING: Ignoring option 'size'=100
 verbose 0 (136: primitive.py, options)
 The allowed options for Point set defined by 1 point(s) are:
     alpha          How transparent the line is.
     faceted        If True color the edge of the point.
     hue            The color given as a hue.
     pointsize      How big the point is.
     rgbcolor       The color as an RGB tuple.
     zorder         The layer level in which to draw


 sage: point((2,3), pointsize=100)
 }}}

 I think `pointsize` is kind of redundant and `size` would not be
 ambiguous. At least, if we keep `pointsize` for backward compatibility
 reasons, I would like

 {{{
 sage: point((2,3), size=100)
 }}}

 to work.

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