code: def test_set_signature():
      """Test autogenerated ``set()`` for Artist subclasses."""
  
      class MyArtist1(martist.Artist):
          def set_myparam1(self, val):
              pass
  
      assert hasattr(MyArtist1.set, "_autogenerated_signature")
      assert "myparam1" in MyArtist1.set.__doc__
  
      class MyArtist2(MyArtist1):
          def set_myparam2(self, val):
              pass
  
      assert hasattr(MyArtist2.set, "_autogenerated_signature")
      assert "myparam1" in MyArtist2.set.__doc__
      assert "myparam2" in MyArtist2.set.__doc__
  
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 17 for calling a global function with example usage: test_set_signature() without return types