hist2 and meshgrid implementations

Should the hist2 function return [y,x] or [n,m] order? (or follow numpy's lead and make it a parameter of the function)?