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

Method search

lib/matplotlib/dviread.py:1267–1273  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

1265 **os.environ})
1266
1267 def search(self, filename):
1268 if self._proc.poll() is not None: # Dead, restart it.
1269 self._proc = self._new_proc()
1270 self._proc.stdin.write(os.fsencode(filename) + b"\n")
1271 self._proc.stdin.flush()
1272 out = self._proc.stdout.readline().rstrip()
1273 return None if out == b"nil" else os.fsdecode(out)
1274
1275
1276@lru_cache

Callers 15

get_weightFunction · 0.80
_weight_from_subfamFunction · 0.80
implFunction · 0.80
find_allMethod · 0.80
get_aliasesMethod · 0.80
get_valid_valuesMethod · 0.80
_parse_encFunction · 0.80
find_tex_fileFunction · 0.80
_tokenizeFunction · 0.80
contains_doctestFunction · 0.80
test_bboxFunction · 0.80

Calls 3

_new_procMethod · 0.95
flushMethod · 0.80
writeMethod · 0.45

Tested by 5

test_bboxFunction · 0.64
test_fonttypeFunction · 0.64
test_mathtext_fallbackFunction · 0.64
test_webaggFunction · 0.64
test_docstring_additionFunction · 0.64