#13777: Fix TimeSeries histogram plotting
---------------------------------------+------------------------------------
       Reporter:  kcrisman             |         Owner:  jason, was  
           Type:  defect               |        Status:  needs_review
       Priority:  major                |     Milestone:  sage-5.6    
      Component:  graphics             |    Resolution:              
       Keywords:                       |   Work issues:              
Report Upstream:  N/A                  |     Reviewers:              
        Authors:  Karl-Dieter Crisman  |     Merged in:              
   Dependencies:                       |      Stopgaps:              
---------------------------------------+------------------------------------

Comment (by ppurka):

 Replying to [comment:8 jason]:
 > A while ago we changed polygons to have aspect ratio 1 automatically,
 IIRC.  So you should add an `aspect_ratio='automatic'` somewhere, maybe as
 a default option.
 You are right. Modifying the polygon line to this works.
 {{{
         for i, (x0,x1) in enumerate(intervals):
             s += polygon([(x0,0), (x0,counts[i]), (x1,counts[i]), (x1,0)],
                     aspect_ratio='automatic', **kwds)
 }}}

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