#7807: region_plot does not pass extra arguments to show
------------------------+---------------------------------------------------
   Reporter:  jason     |       Owner:  was       
       Type:  defect    |      Status:  new       
   Priority:  major     |   Milestone:  sage-4.3.1
  Component:  graphics  |    Keywords:            
Work_issues:            |      Author:            
   Upstream:  N/A       |    Reviewer:            
     Merged:            |  
------------------------+---------------------------------------------------
 This is inconsistent with other plotting functions.

 {{{
 sage: region_plot([x^2+y^2<1, x<y], (x,-2,2), (y,-2,2),aspect_ratio=1)
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

 /home/grout/.sage/temp/tiny/2531/_home_grout__sage_init_sage_0.py in
 <module>()

 /home/grout/downloads/sage-4.3/local/lib/python2.6/site-
 packages/sage/plot/misc.pyc in wrapper(*args, **kwds)
     136                 options['__original_opts'] = kwds
     137             options.update(kwds)
 --> 138             return func(*args, **options)
     139
     140

 TypeError: region_plot() got an unexpected keyword argument 'aspect_ratio'
 }}}

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