#7809: region_plot does not respect the passed variable order
------------------------+---------------------------------------------------
   Reporter:  jason     |       Owner:  was       
       Type:  defect    |      Status:  needs_work
   Priority:  major     |   Milestone:  sage-4.3.1
  Component:  graphics  |    Keywords:            
Work_issues:            |      Author:            
   Upstream:  N/A       |    Reviewer:            
     Merged:            |  
------------------------+---------------------------------------------------

Comment(by jason):

 Replying to [comment:2 kcrisman]:
 > Looks like this is the only place equify is used, so I think this does
 not require any deprecation for the removed optional argument.  There
 should be another doctest in to show this works, though, like
 > {{{
 > sage: region_plot([y>.3, x>0, x^2+y^2<1], (x,-1.1, 1.1), (y,-1.1, 1.1),
 plot_points = 400).show(aspect_ratio=1)
 > sage: region_plot([y>.3, x>0, x^2+y^2<1], (y,-1.1, 1.1), (x,-1.1, 1.1),
 plot_points = 400).show(aspect_ratio=1)
 > }}}


 Does this actually produce an incorrect plot before the patch?  I'll
 check, but I'm pretty sure it should work.


 > Also, the example in the description fails!  Though, to be fair, it
 failed before as well - but I figure I should mention it in case it's
 related to this ticket after all.  Or was the syntax wrong?
 > {{{
 > sage: region_plot(2/x + 1/y > 1/x * 1/y, (x,-10,10), (y,-10,10))
 > TypeError: reduce() of empty sequence with no initial value
 > }}}

 This is not related to this ticket.  The error is caused by a bug in
 fast_callable--see #7810.

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