code: def get_2dgrid(hist, get_bin_labels: bool = False):
      """Get filled x,y grid of first two dimensions of input histogram
  
      :param hist: input histogrammar histogram
      :return: x,y grid of first two dimensions of input histogram
      """
      return get_ndgrid(hist, get_bin_labels, n_dim=2)
  
imports: from __future__ import annotations
  import warnings
  import histogrammar
  import numpy
  from histogrammar.util import get_hist_props
  from popmon.hist.hist_utils import get_bin_centers, is_numeric
  from popmon.stats.numpy import quantile
label_desc: Use image node_id 6 for calling a global function with example usage: get_2dgrid(hist, get_bin_labels) and returns: get_ndgrid