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 37 of file python/ROOTUtils.py.
def python.ROOTUtils.MyCanvas.__init__ | ( | self, | |
name = 'MyCanvas' , |
|||
size = 'default' , |
|||
xdivs = 1 , |
|||
ydivs = 1 , |
|||
saveAsList = None , |
|||
autoSaveOnExit = None |
|||
) |
Definition at line 48 of file python/ROOTUtils.py.
def python.ROOTUtils.MyCanvas.__del__ | ( | self | ) |
Definition at line 62 of file python/ROOTUtils.py.
def python.ROOTUtils.MyCanvas.save | ( | self | ) |
Definition at line 66 of file python/ROOTUtils.py.
|
static |
Definition at line 46 of file python/ROOTUtils.py.
python.ROOTUtils.MyCanvas.autoName |
Definition at line 59 of file python/ROOTUtils.py.
|
static |
Definition at line 45 of file python/ROOTUtils.py.
python.ROOTUtils.MyCanvas.autoSaveOnExit |
Definition at line 56 of file python/ROOTUtils.py.
python.ROOTUtils.MyCanvas.name |
Definition at line 50 of file python/ROOTUtils.py.
|
static |
Definition at line 44 of file python/ROOTUtils.py.
python.ROOTUtils.MyCanvas.saveAsList |
Definition at line 52 of file python/ROOTUtils.py.