Contours message error

Folks,
Would it be possible to switch the current error message

ValueError: Arguments x, y, z, mask (if present) must be 2D arrays.

in cntr.c to something more explicit, when x, y, and z are 2D arrays, but one
of them is complex ? Or force a downcast to float if needed ?
(I know, I should have forced a conversion myself. But I just spent one hour
trying to figure what was going wrong before thinking about checking the
dtypes...)

Thx in advance

Pierre,

I will try to improve it.

Eric

Pierre GM wrote:

ยทยทยท

Folks, Would it be possible to switch the current error message

ValueError: Arguments x, y, z, mask (if present) must be 2D arrays.

in cntr.c to something more explicit, when x, y, and z are 2D arrays, but one of them is complex ? Or force a downcast to float if needed ?
(I know, I should have forced a conversion myself. But I just spent one hour trying to figure what was going wrong before thinking about checking the dtypes...)

Thx in advance

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users