Skip to content
masterclass Buddy

NumPy · Function

np.meshgrid

numpy.meshgrid builds coordinate arrays from one-dimensional coordinate vectors. It is useful for evaluating functions over multidimensional grids.

Last updated

Syntax

numpy.meshgrid(*xi, copy=True, sparse=False, indexing='xy')

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • mgrid
  • ogrid

Source: numpy.meshgrid — NumPy v2.5 Manual. Checked 2026-11-03.