code: def test_chunksize():
      x = range(200)
  
      # Test without chunksize
      fig, ax = plt.subplots()
      ax.plot(x, np.sin(x))
      fig.canvas.draw()
  
      # Test with chunksize
      fig, ax = plt.subplots()
      rcParams["agg.path.chunksize"] = 105
      ax.plot(x, np.sin(x))
      fig.canvas.draw()
  
imports: import io
  import numpy
  from numpy.testing import assert_array_almost_equal
  from PIL import Image, TiffTags
  import pytest
  from matplotlib import collections, patheffects, pyplot, transforms, rcParams, rc_context
  from matplotlib.backends.backend_agg import RendererAgg
  from matplotlib.figure import Figure
  from matplotlib.image import imread
  from matplotlib.path import Path
  from matplotlib.testing.decorators import image_comparison
  from matplotlib.transforms import IdentityTransform
label_desc: Use image node_id 7 for calling a global function with example usage: test_chunksize() without return types