scistag.vislog.pyplot_log_context.PyPlotLogContext

class PyPlotLogContext(target_log)[source]

Bases: object

Defines an enclosed, multi-thread safe PyPlot logging context.

When the context is left it adds the latest figure to the VisualLog it is associated to.

Is created via VisualLogBuilder.pyplot, see VisualLogBuilder.pyplot()

Methods

Attributes

__dict__

__doc__

__module__

__weakref__

list of weak references to the object (if defined)