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

Function strrepr

lib/matplotlib/transforms.py:72–72  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

70 """
71 indent = functools.partial(textwrap.indent, prefix=" " * 4)
72 def strrepr(x): return repr(x) if isinstance(x, str) else str(x)
73 return lambda self: (
74 type(self).__name__ + "("
75 + ",".join([*(indent("\n" + strrepr(getattr(self, arg)))

Callers 1

_make_str_methodFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…