![]() |
![]() |
Classes | |
class | Hist |
class | Hist2D |
Define classes. More... | |
class | HistStack |
class | RootFile |
Functions | |
def | replace |
Variables | |
string | __license__ |
tuple | _all_whitespace_string = re.compile(r'\s*$') |
Define constants. More... | |
Utilities for plotting ROOT histograms in matplotlib.
def python.rootplot.root2matplotlib.replace | ( | string, | |
replacements | |||
) |
Modify a string based on a list of patterns and substitutions. replacements should be a list of two-entry tuples, the first entry giving a string to search for and the second entry giving the string with which to replace it. If replacements includes a pattern entry containing 'use_regexp', then all patterns will be treated as regular expressions using re.sub.
Definition at line 443 of file root2matplotlib.py.
Referenced by python.iterators._findIterators(), shallowTree_test_template.add_rawRelVals(), hltMuonPostProcessors_cff.add_reco_strings(), hltSMPPostProcessors_cff.add_reco_strings(), EtaPtBin.buildDescriptionString(), cfgName2py.cfgName2py(), recoTauConfTools.cmssw_version(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.cmsswVNums(), enablePileUpCorrection.enablePileUpCorrectionInPF2PAT(), VariableNTupler.fill(), commentSkipper.cppCommentSkipper.filterFile(), commentSkipper.buildFileCommentSkipper.filterMultilineComment(), commentSkipper.buildFileCommentSkipper.filterOneLineComment(), hltTrgSeedMapper.findUniqueSeed(), relval_machine.fix_run(), heppy_hadd.hadd(), L1TriggerKeyDummyProd.L1TriggerKeyDummyProd(), L1TriggerKeyDummyProdExt.L1TriggerKeyDummyProdExt(), DBSApi_cff.loadXML(), uploader.main(), SelectRuns.SelectRuns.makeList(), FastTrackerRecHitMaskProducer_cfi.maskProducerFromClusterRemover(), additionalparser.AdditionalData.parse(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), VIDSelectorBase.process_pset(), VariableNTupler.registerleaves(), Vispa.Gui.BoxContentDialog.BoxContentDialog.script(), query.sendMessage(), and trackSplittingValidation.TrackSplittingValidation.validsubdets().
string python.rootplot.root2matplotlib.__license__ |
Definition at line 5 of file root2matplotlib.py.
tuple python.rootplot.root2matplotlib._all_whitespace_string = re.compile(r'\s*$') |
Define constants.
Definition at line 42 of file root2matplotlib.py.