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

Function _get_ssl_context

lib/matplotlib/__init__.py:853–860  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

851
852@functools.cache
853def _get_ssl_context():
854 try:
855 import certifi
856 except ImportError:
857 _log.debug("Could not import certifi.")
858 return None
859 import ssl
860 return ssl.create_default_context(cafile=certifi.where())
861
862
863@contextlib.contextmanager

Callers 1

_open_file_or_urlFunction · 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…