def pcolor_axes(array, px_to_units=px_to_units):
<EOL>x_size = array.shape[<NUM_LIT:0>]+<NUM_LIT:1><EOL>y_size = array.shape[<NUM_LIT:1>]+<NUM_LIT:1><EOL>x = _np.empty((x_size, y_size))<EOL>y = _np.empty((x_size, y_size))<EOL>for i in range(x_size):<EOL><INDENT>for j in range(y_size):<EOL><INDENT>x[i, j], y[i, j] = px_to_units(i-<NUM_LIT:0.5>, j-<NUM_LIT:0.5>)<EOL><DEDENT><DEDENT>return x, y<EOL>
Return axes :code:`x, y` for *array* to be used with :func:`matplotlib.pyplot.color`.

*px_to_units* is a function to convert pixels to units. By default, returns pixels.