MCPcopy Create free account
hub / github.com/cms-sw/cmssw / draw

Method draw

Validation/RecoTrack/python/plotting/plotting.py:2313–2389  ·  view source on GitHub ↗

Draw the histograms using values for a given algorithm. Arguments: legendLabels -- List of strings for legend labels (corresponding to the tdirectories in create()) prefix -- Optional string for file name prefix (default None) separate -- Save the plots

(self, legendLabels, prefix=None, separate=False, saveFormat=".pdf", ratio=True, directory="")

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 13

_drawSeparateMethod · 0.95
_modifyPadForRatioMethod · 0.95
_createLegendMethod · 0.95
_saveMethod · 0.95
_createCanvasFunction · 0.85
DivideMethod · 0.80
maxFunction · 0.50
sumFunction · 0.50
isEmptyMethod · 0.45
cdMethod · 0.45
drawMethod · 0.45
getNumberOfHistogramsMethod · 0.45

Tested by

no test coverage detected