PlasmaCalcs.plotting.plot_tools.currently_active.UsingCurrentPlt
- class PlasmaCalcs.plotting.plot_tools.currently_active.UsingCurrentPlt(*, figure=NO_VALUE, axes=NO_VALUE, image=NO_VALUE)
Bases:
MaintainingCurrentPltcontext 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.- __init__(*, figure=NO_VALUE, axes=NO_VALUE, image=NO_VALUE)
Methods
__init__(*[, figure, axes, image])