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

Method _recursively_make_subfig_transparent

lib/matplotlib/figure.py:3484–3494  ·  view source on GitHub ↗
(exit_stack, subfig)

Source from the content-addressed store, hash-verified

3482 with ExitStack() as stack:
3483 if transparent:
3484 def _recursively_make_subfig_transparent(exit_stack, subfig):
3485 exit_stack.enter_context(
3486 subfig.patch._cm_set(
3487 facecolor="none", edgecolor="none"))
3488 for ax in subfig.axes:
3489 exit_stack.enter_context(
3490 ax.patch._cm_set(
3491 facecolor="none", edgecolor="none"))
3492 for sub_subfig in subfig.subfigs:
3493 _recursively_make_subfig_transparent(
3494 exit_stack, sub_subfig)
3495
3496 def _recursively_make_axes_transparent(exit_stack, ax):
3497 exit_stack.enter_context(

Callers

nothing calls this directly

Calls 1

_cm_setMethod · 0.80

Tested by

no test coverage detected