code: def test_document_stat():
      doc = stat_abc.__doc__
      assert "geom_abc" in doc
      # assert "~plotnine.positions.position_stack" in doc
      assert 'position, default="stack"' in doc
  
file_path: plotnine/tests/test_doctools.py
imports: from plotnine import position_stack
  from plotnine.doctools import document
  from plotnine.geoms.geom import geom
  from plotnine.scales.scale import scale
  from plotnine.stats.stat import stat
label_desc: Use image node_id 3 for calling a global function with example usage: test_document_stat() without return types