AbstractMekPlotProcedure#

class pyCGM2.Mek.mek.mekPlot.AbstractMekPlotProcedure(layout=None, figsize=(8.27, 11.69))#

Abstract class of mek plot procedures.

Parameters:
  • layout (dict) – Layout of the figure.

  • figsize (tuple, optional) – Figure size in inches. Defaults to A4 portrait.

__init__(layout=None, figsize=(8.27, 11.69))#

Methods

__init__([layout, figsize])

filterEventContext([eventContext])

Keep only the curves of an event context.

plot()

Build the figure.

filterEventContext(eventContext=None)#

Keep only the curves of an event context.

Parameters:

eventContext (str, optional) – "Left" or "Right". None keeps all the curves.

plot()#

Build the figure.

Returns:

matplotlib.figure.Figure – The figure.