using_current_figure

PlasmaCalcs.plotting.plot_tools.currently_active.using_current_figure(figure)

returns context manager which sets current figure upon entry; restores upon exit. See also: using_current_plt