#11787: error in creating graphics with numpy arrays
-----------------------------------------+----------------------------------
Reporter: jason | Owner: jason, was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.9
Component: graphics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Luis Felipe Tabera
Alonso
Authors: Punarbasu Purkayastha | Merged in:
Dependencies: | Stopgaps:
-----------------------------------------+----------------------------------
Changes (by ppurka):
* status: needs_work => needs_review
Old description:
> #7570 should have been implemented by doing a len()==0 test, rather than
> a direct comparison to empty lists/dicts/etc. That allows things like
> numpy arrays, etc.
>
> I guess technically, numpy arrays aren't documented as being supported by
> list_plot, for example, so this might technically be an enhancement.
>
> See http://groups.google.com/group/sage-
> support/browse_thread/thread/fb53b9d908acfb4 for a discussion of this
> bug.
> ----
> Apply [attachment:trac_11787-allow_numpy_arrays.patch] to `devel/sage`
New description:
#7570 should have been implemented by doing a len()==0 test, rather than a
direct comparison to empty lists/dicts/etc. That allows things like numpy
arrays, etc.
I guess technically, numpy arrays aren't documented as being supported by
list_plot, for example, so this might technically be an enhancement.
See http://groups.google.com/group/sage-
support/browse_thread/thread/fb53b9d908acfb4 for a discussion of this bug.
----
Apply [attachment:trac_11787-allow_numpy_arrays.2.patch] to `devel/sage`
--
Comment:
Hello, I finally got some time to look at this ticket again. This time it
doesn't import numpy and the main changes are in the functions line and
point, along with their 3D versions.
It passes all doctests in sage/plot. Unfortunately, patchbot is down now.
:(
Patchbot apply trac_11787-allow_numpy_arrays.2.patch
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11787#comment:11>
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.