On Tue, 15 Nov 2011 at 08:19PM -0800, William Stein wrote:
> Right now, we have:
> 
> sage: list_plot([1+I, 2+I, 4-I])
> Traceback (most recent call last):
> ...
> TypeError: unable to simplify to float approximation
> 
> I suppose you could rewrite list_plot so that it calls a function
> _list_plot that works just like the one now, and if it catches a
> TypeError, then -- and only then -- CC'ify all the entries of the
> input list.  That would probably solve the problem with no slowdown at
> all in cases that are currently supported.

That's a smart idea. I'll do that. Thanks for the suggestion.

Dan

--
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

Attachment: signature.asc
Description: Digital signature

Reply via email to