UsingCurrentPlt

class PlasmaCalcs.plotting.plot_tools.currently_active.UsingCurrentPlt(*, figure=NO_VALUE, axes=NO_VALUE, image=NO_VALUE)

Bases: MaintainingCurrentPlt

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?
Only actually sets (restores) the values which are (were) provided, via kwargs.