ATLAS Offline Software
|
Public Member Functions | |
def | __init__ (self, name='MyCanvas', size='default', xdivs=1, ydivs=1, saveAsList=None, autoSaveOnExit=None) |
def | __del__ (self) |
def | save (self) |
Public Attributes | |
name | |
saveAsList | |
autoSaveOnExit | |
autoName | |
Static Public Attributes | |
list | saveAsList = [ '.gif' ] |
bool | autoSaveOnExit = False |
string | autoName = '%s.autosave%s' |
Class MyCanvas is a ROOT TCanvas that allows choosing one of several typically used canvas sizes. It can automatically save the canvas in different formats upon destruction provided the user makes sure that all histograms still exist.
Definition at line 40 of file roofit/ROOTUtils.py.
def ROOTUtils.MyCanvas.__init__ | ( | self, | |
name = 'MyCanvas' , |
|||
size = 'default' , |
|||
xdivs = 1 , |
|||
ydivs = 1 , |
|||
saveAsList = None , |
|||
autoSaveOnExit = None |
|||
) |
Definition at line 51 of file roofit/ROOTUtils.py.
def ROOTUtils.MyCanvas.__del__ | ( | self | ) |
Definition at line 65 of file roofit/ROOTUtils.py.
def ROOTUtils.MyCanvas.save | ( | self | ) |
Definition at line 69 of file roofit/ROOTUtils.py.
|
static |
Definition at line 49 of file roofit/ROOTUtils.py.
ROOTUtils.MyCanvas.autoName |
Definition at line 62 of file roofit/ROOTUtils.py.
|
static |
Definition at line 48 of file roofit/ROOTUtils.py.
ROOTUtils.MyCanvas.autoSaveOnExit |
Definition at line 59 of file roofit/ROOTUtils.py.
ROOTUtils.MyCanvas.name |
Definition at line 53 of file roofit/ROOTUtils.py.
|
static |
Definition at line 47 of file roofit/ROOTUtils.py.
ROOTUtils.MyCanvas.saveAsList |
Definition at line 55 of file roofit/ROOTUtils.py.