Determine the axis to return based on the hist type.

def axis(self) -> Callable[[Any], Any]:
        """ Determine the axis to return based on the hist type. """
        axis_func = hist_axis_func(
            axis_type = self.axis_type
        )
        return axis_func