2D hist median

Is there a function to calculate the median of a 2D hist?

The median has not a unique definition in multi-dimension, it depends on the choice of the axis, so we do not have a function for it

Lorenzo

Thank you