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
Thx in advance