[Numpy-discussion] Arguments silently ignored (kwargs) in meshgrid etc.

Michael McNeil Forbes michael.forbes+python at gmail.com
Wed May 28 23:35:47 EDT 2014


I just noticed that meshgrid() silently ignore extra arguments.  It just burned me (I forgot that it is meshgrid(indexing='ij') and tried meshgrid(indices='ij') which subtly broke my code.)

Is this intentional?  I don't see why `meshgrid` does not have explicit arguments. If this is not a design decision, I will open an issue and PR.

Michael.





More information about the NumPy-Discussion mailing list