code: def test_auto_boxlike_overlay(fn, mode, x, y, color, result):
      df = pd.DataFrame(
          dict(
              categorical1=["a", "a", "b", "b"],
              categorical2=["a", "a", "b", "b"],
              numerical=[1, 2, 3, 4],
          )
      )
      assert fn(df, x=x, y=y, color=color).layout[mode] == result
  
imports: import plotly.express
  import plotly.graph_objects
  import numpy
  import pandas
  import pytest
  from packaging import version
  import unittest.mock
  from plotly.express._core import build_dataframe
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 35 for calling a global function with example usage: test_auto_boxlike_overlay(fn, mode, x, y, color, result) without return types