code: def test_FeatureInteractionVisualization__happy_path(monkeypatch):
      state = __get_feature_interaction_state()
      call_render = MagicMock()
      call_show = MagicMock()
      call_subplots = MagicMock(return_value=("fig", "ax"))
  
      viz = FeatureInteractionVisualization(
          key="abc",
          numeric_as_categorical_threshold=2,
          some_chart_arg=123,
          fig_args=dict(key="value"),
      )
  
      with monkeypatch.context() as m:
          m.setattr(plt, "subplots", call_subplots)
          m.setattr(plt, "show", call_show)
          m.setattr(viz._RegPlotRenderer, "_render", call_render)
          auto.analyze(state=state, viz_facets=[viz])
  
      call_render.assert_called_with(
          match_equality(state),  # noqa
          "train_data",
          ("a", "b", None),
          ("numeric", "numeric", None),
          "ax",
          match_equality(state.interactions.train_data.abc.data),
          dict(x="a", y="b", some_chart_arg=123),
      )
      call_show.assert_called_with("fig")
      call_subplots.assert_called_with(key="value", figsize=(12, 6))
  
imports: from unittest.mock import ANY, MagicMock
  import matplotlib.pyplot
  import numpy
  import pandas
  import pytest
  import scipy
  import seaborn
  from hamcrest.library.integration import match_equality
  from pandas import DataFrame
  from sklearn.inspection import PartialDependenceDisplay
  import autogluon.eda.auto
  from autogluon.common.features.types import R_BOOL, R_CATEGORY, R_FLOAT, R_INT, R_OBJECT
  from autogluon.eda import AnalysisState
  from autogluon.eda.visualization import CorrelationSignificanceVisualization, CorrelationVisualization, FeatureInteractionVisualization, PDPInteractions
  from autogluon.eda.visualization.interaction import FeatureDistanceAnalysisVisualization
label_desc: Use image node_id 10 for calling a global function with example usage: test_FeatureInteractionVisualization__happy_path(monkeypatch) without return types