code: def test_document_scale():
      doc = scale_expand_earth.__doc__
      assert doc.count("base_param_1") == 1
      assert doc.count("base_param_2") == 1
      assert doc.count("base_param_3") == 1
      assert doc.count("derived_param_1") == 1
      assert doc.count("derived_param_2") == 1
      assert doc.count("mixin_param_1") == 1
      assert doc.count("mixin_param_2") == 1
  
      # overridden parameter
      assert "specific_parameter : str" in doc
      assert "Base Specific Parameter Description" not in doc
      assert doc.count("specific_parameter : str") == 1
      assert doc.count("Derived Specific Parameter Description") == 1
  
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 1 for calling a global function with example usage: test_document_scale() without return types