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

Function rc_context

lib/matplotlib/pyplot.py:801–805  ·  view source on GitHub ↗
(
    rc: dict[RcKeyType, Any] | None = None,
    fname: str | pathlib.Path | os.PathLike | None = None,
)

Source from the content-addressed store, hash-verified

799
800@_copy_docstring_and_deprecators(matplotlib.rc_context)
801def rc_context(
802 rc: dict[RcKeyType, Any] | None = None,
803 fname: str | pathlib.Path | os.PathLike | None = None,
804) -> AbstractContextManager[None]:
805 return matplotlib.rc_context(rc, fname)
806
807
808@_copy_docstring_and_deprecators(matplotlib.rcdefaults)

Callers 15

test_colorbar_autoticksFunction · 0.90
test_normal_axesFunction · 0.90
test_nodecoratorFunction · 0.90
test_displaced_spineFunction · 0.90
test_tickdirsFunction · 0.90
test_minor_accountedforFunction · 0.90

Calls

no outgoing calls

Tested by 15

test_colorbar_autoticksFunction · 0.72
test_normal_axesFunction · 0.72
test_nodecoratorFunction · 0.72
test_displaced_spineFunction · 0.72
test_tickdirsFunction · 0.72
test_minor_accountedforFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…