code: def test_mosaic_empty_cells(close_figures):
      # GH#2286
      import pandas as pd
  
      mydata = pd.DataFrame(
          {
              "id2": {
                  64: "Angelica",
                  65: "DXW_UID",
                  66: "casuid01",
                  67: "casuid01",
                  68: "EC93_uid",
                  69: "EC93_uid",
                  70: "EC93_uid",
                  60: "DXW_UID",
                  61: "AtmosFox",
                  62: "DXW_UID",
                  63: "DXW_UID",
              },
              "id1": {
                  64: "TGP",
                  65: "Retention01",
                  66: "default",
                  67: "default",
                  68: "Musa_EC_9_3",
                  69: "Musa_EC_9_3",
                  70: "Musa_EC_9_3",
                  60: "default",
                  61: "default",
                  62: "default",
                  63: "default",
              },
          }
      )
  
      ct = pd.crosstab(mydata.id1, mydata.id2)
      _, vals = mosaic(ct.T.unstack())
      _, vals = mosaic(mydata, ["id1", "id2"])
  
imports: from statsmodels.compat.python import lrange
  from io import BytesIO
  from itertools import product
  import numpy
  from numpy.testing import assert_, assert_raises
  import pandas
  import pytest
  from statsmodels.api import datasets
  from statsmodels.graphics.mosaicplot import _hierarchical_split, _key_splitting, _normalize_split, _reduce_dict, _split_rect, mosaic
label_desc: Use image node_id 6 for calling a global function with example usage: test_mosaic_empty_cells(close_figures) without return types