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

Function _has_tex_package

lib/matplotlib/testing/__init__.py:211–216  ·  view source on GitHub ↗
(package)

Source from the content-addressed store, hash-verified

209
210
211def _has_tex_package(package):
212 try:
213 mpl.dviread.find_tex_file(f"{package}.sty")
214 return True
215 except (FileNotFoundError, OSError):
216 return False
217
218
219def ipython_in_subprocess(requested_backend_or_gui_framework, all_expected_backends):

Callers 2

test_usetex_packagesFunction · 0.90
test_rcupdateFunction · 0.90

Calls

no outgoing calls

Tested by 2

test_usetex_packagesFunction · 0.72
test_rcupdateFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…