PlasmaCalcs.plotting.plot_tools.currently_active.using_current_plt
- PlasmaCalcs.plotting.plot_tools.currently_active.using_current_plt(*, figure=NO_VALUE, axes=NO_VALUE, image=NO_VALUE)
- returns context manager which sets values for “current” figure, axes, image upon entry; restores upon exit.If the original figure / axes / image was None, it will not be restored to None. [TODO] change this?
- figure, axes, image: objects or NO_VALUE
- if provided, set that value as the current value, upon entry.
see also: maintaining_current_plt