#18463: matrix_plot broken in Sage 6.7
------------------------------+------------------------
       Reporter:  jhpalmieri  |        Owner:
           Type:  defect      |       Status:  new
       Priority:  critical    |    Milestone:  sage-6.8
      Component:  graphics    |   Resolution:
       Keywords:              |    Merged in:
        Authors:              |    Reviewers:
Report Upstream:  N/A         |  Work issues:
         Branch:              |       Commit:
   Dependencies:              |     Stopgaps:
------------------------------+------------------------

Comment (by deinst):

 Replying to [comment:8 kcrisman]:
 > > Looking through the `matplotlib` method of the `Graphics` object, I
 see that the `matplotlib` method expects `ymin > ymax` to occur.
 > Or rather, it allows for that case and then flips things, if I recall
 correctly.

 Yes, sort of.  If `ymax < ymin` the labels on the y axis will go from top
 to bottom.  Everything seems to work exactly as  if `ymin` and `ymax` were
 in the right order except that  (and the `_limit_output_aspect_ratio`
 method).

 > >  This works but this leaves ymax < ymin ready to bite someone else who
 expects min < max.
 > Can you give a concrete example of this kind of "user error"?  That
 might help us decide on an option.

 I did not mean a "user error", I meant a "developer error", identical to
 the error that precipitated this bug.  (As I suspect the set of most
 regular sage users overlaps considerably with the community of sage
 developers, this may only be a semantic difference.)  When I see two
 variables named `xmin` and `xmax`, I assume that `xmin < xmax` and program
 accordingly.

 I am not sure how all of this interacts with sums of plots, which was
 Volker's point.

--
Ticket URL: <http://trac.sagemath.org/ticket/18463#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 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/d/optout.

Reply via email to