MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _get_scale_docs

Function _get_scale_docs

lib/matplotlib/scale.py:982–995  ·  view source on GitHub ↗

Helper function for generating docstrings related to scales.

()

Source from the content-addressed store, hash-verified

980
981
982def _get_scale_docs():
983 """
984 Helper function for generating docstrings related to scales.
985 """
986 docs = []
987 for name, scale_class in _scale_mapping.items():
988 docstring = inspect.getdoc(scale_class.__init__) or ""
989 docs.extend([
990 f" {name!r}",
991 "",
992 textwrap.indent(docstring, " " * 8),
993 ""
994 ])
995 return "\n".join(docs)
996
997
998_docstring.interpd.register(

Callers 1

scale.pyFile · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…