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

Method _recursively_make_axes_transparent

lib/matplotlib/figure.py:3496–3505  ·  view source on GitHub ↗
(exit_stack, ax)

Source from the content-addressed store, hash-verified

3494 exit_stack, sub_subfig)
3495
3496 def _recursively_make_axes_transparent(exit_stack, ax):
3497 exit_stack.enter_context(
3498 ax.patch._cm_set(facecolor="none", edgecolor="none"))
3499 for child_ax in ax.child_axes:
3500 exit_stack.enter_context(
3501 child_ax.patch._cm_set(
3502 facecolor="none", edgecolor="none"))
3503 for child_childax in ax.child_axes:
3504 _recursively_make_axes_transparent(
3505 exit_stack, child_childax)
3506
3507 kwargs.setdefault('facecolor', 'none')
3508 kwargs.setdefault('edgecolor', 'none')

Callers

nothing calls this directly

Calls 1

_cm_setMethod · 0.80

Tested by

no test coverage detected