code: def test_set_is_overwritten():
      """set() defined in Artist subclasses should not be overwritten."""
  
      class MyArtist3(martist.Artist):
          def set(self, **kwargs):
              """Not overwritten."""
  
      assert not hasattr(MyArtist3.set, "_autogenerated_signature")
      assert MyArtist3.set.__doc__ == "Not overwritten."
  
      class MyArtist4(MyArtist3):
          pass
  
      assert MyArtist4.set is MyArtist3.set
  
imports: import io
  from itertools import chain
  import numpy
  import pytest
  import matplotlib.colors
  import matplotlib.pyplot
  import matplotlib.patches
  import matplotlib.lines
  import matplotlib.path
  import matplotlib.transforms
  import matplotlib.collections
  import matplotlib.artist
  import matplotlib.backend_bases
  import matplotlib
  from matplotlib.testing.decorators import check_figures_equal, image_comparison
label_desc: Use image node_id 18 for calling a global function with example usage: test_set_is_overwritten() without return types