scistag.plotstag.layers.matplot_layer.MPLayerLock¶
- class MPLayerLock(target_plot, size_ratio=None, **params)[source]¶
Bases:
MPLockHelper class which helps inserting an image layer to a PlotStag by automatically fetching the latest current matplotlib figure upon exiting
- Parameters
Methods
Attributes
__dict____doc____module____weakref__list of weak references to the object (if defined)
Shared access lock to prevent multiple thread using Matplotlib at the same time
The plot to which the matplot figure shall be added
- access_lock = <scistag.common.mt.stag_lock.StagLock object>¶
Shared access lock to prevent multiple thread using Matplotlib at the same time
- pl¶
Link to the module once valid
- target_plot¶
The plot to which the matplot figure shall be added