maintaining_current_axes

PlasmaCalcs.plotting.plot_tools.currently_active.maintaining_current_axes(enabled=True)

returns context manager which (if enabled) restores current axes upon exit. See also: maintaining_current_plt