code: def test_overview_figure_type(figure_class, series):
      """Test the overview functionality (i.e., whether the overview figure can be
      constructed)"""
      # Create a figure with a scatter plot
      fig = FigureResampler(figure_class(), create_overview=True)
      fig.add_trace(go.Scatter(x=series.index, y=series))
      fig.add_trace({}, hf_x=series.index, hf_y=series)
  
      overview_fig = fig._create_overview_figure()
      assert len(overview_fig["data"]) == 2
  
file_path: plotly-resampler/tests/test_rangeslider.py
imports: import numpy
  import plotly.graph_objects
  import pytest
  from plotly.subplots import make_subplots
  from pytest_lazyfixture import lazy_fixture
  from plotly_resampler import FigureResampler
  from plotly_resampler.aggregation import EveryNthPoint, MedDiffGapHandler, MinMaxLTTB, NoGapHandler
label_desc: Use image node_id 1 for calling a global function with example usage: test_overview_figure_type(figure_class, series) without return types