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

Function _cached_realpath

lib/matplotlib/font_manager.py:1780–1783  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

1778
1779@lru_cache(64)
1780def _cached_realpath(path):
1781 # Resolving the path avoids embedding the font twice in pdf/ps output if a
1782 # single font is selected using two different relative paths.
1783 return os.path.realpath(path)
1784
1785
1786@_api.delete_parameter('3.11', 'hinting_factor')

Callers 3

_findfont_cachedMethod · 0.85
_get_fontFunction · 0.85
get_fontFunction · 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…