code: def test_figure_data_format_dataset():
      assert figure_data_format_dataset({"a": "b"}) == dict
      assert (
          figure_data_format_dataset(
              pd.DataFrame([1, 2, 3, 4, 5], columns=["x"])
          )
          == pd.DataFrame
      )
      assert (
          figure_data_format_dataset(
              dd.from_pandas(
                  pd.DataFrame([1, 2, 3, 4, 5], columns=["x"]),
                  npartitions=1,
              ).reset_index()
          )
          == dd.core.DataFrame
      )
      assert (
          figure_data_format_dataset(
              CacheableDataframe(
                  df=pd.DataFrame([1, 2, 3, 4, 5], columns=["x"]),
                  name="test",
                  checksum="test123",
              )
          )
          == pd.DataFrame
      )
      assert (
          figure_data_format_dataset(
              CacheableDataframe(
                  df=dd.from_pandas(
                      pd.DataFrame([1, 2, 3, 4, 5], columns=["x"]),
                      npartitions=1,
                  ).reset_index(),
                  name="test",
                  checksum="test123",
              )
          )
          == dd.core.DataFrame
      )
  
imports: import functools
  import json
  import logging
  import numpy
  import pandas
  import pytest
  from fsspec.config import conf
  from ludwig.api import LudwigModel
  from ludwig.data.cache.types import CacheableDataframe
  from ludwig.data.dataset_synthesizer import build_synthetic_dataset_df
  from ludwig.utils.data_utils import add_sequence_feature_column, figure_data_format_dataset, get_abs_path, hash_dict, NumpyEncoder, PANDAS_DF, read_csv, read_html, read_parquet, sanitize_column_names, use_credentials
  from tests.integration_tests.utils import private_param
label_desc: Use image node_id 4 for calling a global function with example usage: test_figure_data_format_dataset() without return types