#15315: aspect ratio ignored in matrix and density plots
-------------------------------------------------+-------------------------
       Reporter:  kcrisman                       |        Owner:
           Type:  defect                         |       Status:
       Priority:  major                          |  needs_review
      Component:  graphics                       |    Milestone:  sage-5.13
       Keywords:  matplotlib imshow density      |   Resolution:
  plot                                           |    Merged in:
        Authors:  Punarbasu Purkayastha          |    Reviewers:  Karl-
Report Upstream:  N/A                            |  Dieter Crisman
         Branch:                                 |  Work issues:
   Dependencies:                                 |       Commit:
                                                 |     Stopgaps:
-------------------------------------------------+-------------------------

Comment (by ppurka):

 Replying to [comment:7 kcrisman]:
 > Try a weird density plot without the patch and then with it.  I at least
 think they look different - which is why the original poster had trouble
 in the first place.

 I realize that the problem showed up in the weird plots. My interpretation
 of it is this - if we set the aspect ratio to automatic before the plot,
 then matplotlib has no idea of the kind of data it is about to get. I
 don't know what it does internally. But if we set it after the plot then
 matplotlib has the data and now it can set the plot parameters
 appropriately.

 Ideally, matplotlib should "keep in mind" that the aspect ratio is
 automatic and needs to be readjusted after the plot.

--
Ticket URL: <http://trac.sagemath.org/ticket/15315#comment:8>
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to