code: def test_MinMaxLTTB_size():
      # This test was made to certainly trigger the threshold for the MinMaxLTTB algorithm
      n = 12_000_000
      x = np.arange(n)
      y = np.sin(x / (x.shape[0] / 30)) + np.random.randn(n)
      mmltb = MinMaxLTTB()
      for n_out in np.random.randint(500, 1_000, size=3):
          assert n_out == mmltb._arg_downsample(x, y, n_out).shape[0]
  
imports: import numpy
  import pandas
  import pytest
  from pytest_lazyfixture import lazy_fixture
  from plotly_resampler.aggregation import LTTB, EveryNthPoint, FuncAggregator, MedDiffGapHandler, MinMaxAggregator, MinMaxLTTB, MinMaxOverlapAggregator, NoGapHandler
  from .utils import construct_index, wrap_aggregate
label_desc: Use image node_id 15 for calling a global function with example usage: test_MinMaxLTTB_size() without return types