#11787: error in creating graphics with numpy arrays
-----------------------------------------+----------------------------------
       Reporter:  jason                  |         Owner:  jason, was  
           Type:  enhancement            |        Status:  needs_review
       Priority:  major                  |     Milestone:  sage-5.8    
      Component:  graphics               |    Resolution:              
       Keywords:                         |   Work issues:              
Report Upstream:  N/A                    |     Reviewers:              
        Authors:  Punarbasu Purkayastha  |     Merged in:              
   Dependencies:                         |      Stopgaps:              
-----------------------------------------+----------------------------------
Changes (by ppurka):

  * status:  needs_work => needs_review
  * work_issues:  Fix for ndarrays =>


Comment:

 Updated the patch to take care of ndarrays of ndarrays, or even lists of
 ndarrays. The following are the tests on a corei5 @ 2.5GHz.

 There is probably a very minor but insignificant slowdown. The tests of
 plot.py without this patch takes 220.4s and with this patch takes 223.3s,
 i.e., 3 seconds more. Given that two more plots are introduced in the
 doctest, I believe there is no perceptible slowdown to the `list_plot`
 code.
 {{{
 ...sage-5.8.beta4/devel/sage» ../../sage -t -long sage/plot/plot.py
 sage -t -long "devel/sage-main/sage/plot/plot.py"
          [223.3 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 223.4 seconds
 ...sage-5.8.beta4/devel/sage» hg qser
 trac_10508_doctest.patch
 trac_10508_update_atlas_docs.patch
 trac_11787-allow_numpy_arrays.patch
 ...sage-5.8.beta4/devel/sage» hg qpop trac_10508_update_atlas_docs.patch
 abort: local changes found, refresh first
 ...8.beta4/devel/sage [255] » hg qref
 ...sage-5.8.beta4/devel/sage» hg qpop trac_10508_update_atlas_docs.patch
 popping trac_11787-allow_numpy_arrays.patch
 now at: trac_10508_update_atlas_docs.patch
 ...sage-5.8.beta4/devel/sage» ../../sage -b >& /dev/null
 ...sage-5.8.beta4/devel/sage» ../../sage -t -long sage/plot/plot.py
 sage -t -long "devel/sage-main/sage/plot/plot.py"
          [220.4 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 220.4 seconds
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11787#comment:7>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to