MPF.canvas module

class MPF.canvas.Canvas(splitting, xAxisLabelsOption=None)[source]

Bases: ROOT.TCanvas

drawPads(**kwargs)[source]
saveAs(path, **kwargs)[source]

Save the canvas, takes care of drawing everything and calls the ROOT Print function

Parameters:
  • promptDir – if save path does not exist, ask if it should be created. If set False, the dir is created without asking (default: True)
  • noSave – if set True the canvas is only drawn, but not saved and left open, so custom modifications can be made (default: False)
setup()[source]