code: def test_auto_no_rasterize():
      class Gen1(martist.Artist):
          ...
  
      assert "draw" in Gen1.__dict__
      assert Gen1.__dict__["draw"] is Gen1.draw
  
      class Gen2(Gen1):
          ...
  
      assert "draw" not in Gen2.__dict__
      assert Gen2.draw is Gen1.draw
  
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 20 for calling a global function with example usage: test_auto_no_rasterize() without return types