Public Member Functions | |
def | __init__ (self, args, kwargs) |
def | bar (self, xerr=False, yerr=False, xoffset=0., width=0.8, label_rotation=0, label_alignment='center', kwargs) |
def | barh (self, xerr=False, yerr=False, yoffset=0., width=0.8, label_rotation=0, label_alignment='center', kwargs) |
def | errorbar (self, xerr=False, yerr=False, label_rotation=0, label_alignment='center', kwargs) |
def | errorbarh (self, xerr=False, yerr=False, label_rotation=0, label_alignment='center', kwargs) |
def | hist (self, label_rotation=0, label_alignment='center', kwargs) |
def | show_titles (self, kwargs) |
Public Member Functions inherited from python.rootplot.utilities.Hist | |
def | __add__ (self, b) |
def | __div__ (self, denominator) |
def | __getitem__ (self, index) |
def | __init__ (self, hist, label="__nolabel__", name=None, title=None, xlabel=None, ylabel=None) |
def | __iter__ (self) |
def | __len__ (self) |
def | __setitem__ (self, index, value) |
def | __sub__ (self, b) |
def | av_xerr (self) |
def | av_yerr (self) |
def | delete_bin (self, index) |
def | divide (self, denominator) |
def | divide_wilson (self, denominator) |
def | min (self, threshold=None) |
def | scale (self, factor) |
def | TGraph (self, name=None) |
def | TH1F (self, name=None) |
Public Attributes | |
replacements | |
y | |
Public Attributes inherited from python.rootplot.utilities.Hist | |
binlabels | |
entries | |
label | |
name | |
nbins | |
overflow | |
rootclass | |
title | |
underflow | |
width | |
x | |
xedges | |
xerr | |
xlabel | |
y | |
yerr | |
ylabel | |
Private Member Functions | |
def | _prepare_xaxis (self, rotation=0, alignment='center') |
def | _prepare_yaxis (self, rotation=0, alignment='center') |
A container to hold the parameters from a ROOT histogram.
Definition at line 108 of file root2matplotlib.py.
def python.rootplot.root2matplotlib.Hist.__init__ | ( | self, | |
args, | |||
kwargs | |||
) |
Definition at line 110 of file root2matplotlib.py.
|
private |
Apply bounds and text labels on x axis.
Definition at line 115 of file root2matplotlib.py.
References python.rootplot.utilities.Hist.binlabels, TriggerDQMBase::MEbinning.nbins, MEbinning.nbins, sistrip::EnsembleCalibrationLA.nbins, MEPSet.nbins, SummationStep.nbins, ExpressionHisto< T >.nbins, JetMonitor::MEbinning.nbins, METMonitor::MEbinning.nbins, HTMonitor::MEHTbinning.nbins, HistogramGenerator.nbins, DiDispStaMuonMonitor::MEbinning.nbins, NoBPTXMonitor::NoBPTXbinning.nbins, ecaldqm::binning::AxisSpecs.nbins, PlotAlignmentValidation::DMRPlotInfo.nbins, python.rootplot.utilities.Hist.nbins, MuonAlignment.nbins, HLTObjectsMonitor::MEbinning.nbins, MuScleFitUtils.nbins, MuonAlignmentAnalyzer.nbins, reco::MuonRPCHitMatch.x, RPFlatParams::EP.x, stAPVGain.x, TkLayerMap::XYbin.x, TwoBodyDecayParameters.x, SimplePixel.x, reco::MuonChamberMatch.x, online::BeamSpot_v1.x, HGCal_helpers::Coordinates.x, LHCInterpolatedOpticalFunctionsSet::Kinematics.x, Phase2ITPixelCluster::Pixel.x, reco::MuonSegmentMatch.x, SiPixelCluster::Pixel.x, PhiInterval.x, VertexType.x, Pixinfo.x, Hit.x, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, Clust.x, PixelModule.x, l1t::emtf::AMC13Header.x, python.rootplot.utilities.Hist2D.x, PixelUnpackingRegions::Module.x, Rechit.x, hit.x, CTPPSLocalTrackLite.x, MuonGeometryArrange::MGACollection.x, python.rootplot.utilities.Hist.x, BeamSpotOnlineRaw_v4.x, MuScleFitUtils.x, perftools::detail::Hist.x, edmStreamStallGrapher.Point.x, svgfig.Plot.x, svgfig.Frame.x, svgfig.Text.x, svgfig.TextGlobal.x, svgfig.VLine.x, python.rootplot.utilities.Hist2D.xedges, and python.rootplot.utilities.Hist.xedges.
Referenced by python.rootplot.root2matplotlib.Hist.bar(), and python.rootplot.root2matplotlib.Hist.errorbar().
|
private |
Apply bounds and text labels on y axis.
Definition at line 123 of file root2matplotlib.py.
References python.rootplot.utilities.Hist.binlabels, TriggerDQMBase::MEbinning.nbins, MEbinning.nbins, sistrip::EnsembleCalibrationLA.nbins, MEPSet.nbins, SummationStep.nbins, ExpressionHisto< T >.nbins, JetMonitor::MEbinning.nbins, METMonitor::MEbinning.nbins, HTMonitor::MEHTbinning.nbins, HistogramGenerator.nbins, DiDispStaMuonMonitor::MEbinning.nbins, NoBPTXMonitor::NoBPTXbinning.nbins, ecaldqm::binning::AxisSpecs.nbins, PlotAlignmentValidation::DMRPlotInfo.nbins, python.rootplot.utilities.Hist.nbins, MuonAlignment.nbins, HLTObjectsMonitor::MEbinning.nbins, MuScleFitUtils.nbins, MuonAlignmentAnalyzer.nbins, reco::MuonRPCHitMatch.x, RPFlatParams::EP.x, stAPVGain.x, TkLayerMap::XYbin.x, TwoBodyDecayParameters.x, SimplePixel.x, reco::MuonChamberMatch.x, online::BeamSpot_v1.x, HGCal_helpers::Coordinates.x, LHCInterpolatedOpticalFunctionsSet::Kinematics.x, Phase2ITPixelCluster::Pixel.x, reco::MuonSegmentMatch.x, SiPixelCluster::Pixel.x, PhiInterval.x, VertexType.x, Pixinfo.x, Hit.x, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, Clust.x, PixelModule.x, l1t::emtf::AMC13Header.x, python.rootplot.utilities.Hist2D.x, PixelUnpackingRegions::Module.x, Rechit.x, hit.x, CTPPSLocalTrackLite.x, MuonGeometryArrange::MGACollection.x, python.rootplot.utilities.Hist.x, BeamSpotOnlineRaw_v4.x, MuScleFitUtils.x, perftools::detail::Hist.x, edmStreamStallGrapher.Point.x, svgfig.Plot.x, svgfig.Frame.x, svgfig.Text.x, svgfig.TextGlobal.x, svgfig.VLine.x, python.rootplot.utilities.Hist2D.xedges, and python.rootplot.utilities.Hist.xedges.
Referenced by python.rootplot.root2matplotlib.Hist.barh(), and python.rootplot.root2matplotlib.Hist.errorbarh().
def python.rootplot.root2matplotlib.Hist.bar | ( | self, | |
xerr = False , |
|||
yerr = False , |
|||
xoffset = 0. , |
|||
width = 0.8 , |
|||
label_rotation = 0 , |
|||
label_alignment = 'center' , |
|||
kwargs | |||
) |
Generate a matplotlib bar figure. All additional keyword arguments will be passed to :func:`matplotlib.pyplot.bar`.
Definition at line 189 of file root2matplotlib.py.
References python.rootplot.root2matplotlib.Hist._prepare_xaxis(), python.rootplot.utilities.Hist.av_xerr(), python.rootplot.utilities.Hist.av_yerr(), python.rootplot.root2matplotlib.Hist.barh(), python.readProv.filereader.Module.label, core.AutoHandle.AutoHandle.label, L1TriggerKeyExtViewer.label, SubDetParams.label, ElectronLikelihoodCategoryData.label, entry< T >.label, SiPixelFedFillerWordEventNumber.label, classes.PlotData.label, l1t::L1GtBoardTypeStringToEnum.label, TtEvent::HypoClassKeyStringToEnum.label, HcalLutSet.label, L1GtBoardTypeStringToEnum.label, ConverterTester.label, l1t::L1TGtObjectStringToEnum.label, L1GtObjectStringToEnum.label, TaggingVariablePlotter::VariableConfig.label, SiPixelRawToDigi.label, SiPixelQualityESProducer.label, muon::SelectionTypeStringToEnum.label, HLTVertexPerformanceAnalyzer.label, hltPlot.label, FWPSetTableManager::PSetData.label, core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.label, L1GtPsbQuadStringToEnum.label, PhysicsTools::MVAModuleHelper< Record, Object, Filler >.label, python.rootplot.utilities.Hist2D.label, l1t::GtConditionTypeStringToEnum.label, DependencyGraph::node.label, MatrixInjector.MatrixInjector.label, ValidationMisalignedTracker.label, HLTBTagPerformanceAnalyzer.label, l1t::GtConditionCategoryStringToEnum.label, MatrixUtil.InputInfo.label, L1GtConditionTypeStringToEnum.label, python.rootplot.utilities.Hist.label, cond::payloadInspector::ModuleVersion.label, L1GtConditionCategoryStringToEnum.label, FastTimerService::GroupOfModules.label, ScaleVarWeight.label, JsonOutputProducer::JsonVars.label, python.rootplot.root2matplotlib.replace(), python.rootplot.root2matplotlib.Hist2D.replacements, python.rootplot.root2matplotlib.Hist.replacements, TmModule.width, DDTIDAxialCableAlgo.width, DDTECAxialCableAlgo.width, reco::CastorJetID.width, function::ZMuStandaloneFunction.width, function::ZMuMuFunction.width, function::ZMuMuScaledFunction.width, function::ZMuTrackFunction.width, btag::SimpleMatrix< T >.width, function::ZMuStandaloneScaledFunction.width, function::ZMuTrackScaledFunction.width, function::ZMuTrackScaledNormalBack.width, presentation.PageLayout.width, ProcNormalize::Map.width, DaqFakeReader.width, ProcLikelihood::SplinePDF.width, SiStripMonitorCluster::ClusterProperties.width, python.rootplot.utilities.Hist.width, TkAlMap.TkAlMap.width, dqmTnP::VoigtianPlusExponentialFitter.width, svgfig.Plot.width, svgfig.Frame.width, svgfig.Dots.width, python.rootplot.utilities.Hist2D.xedges, python.rootplot.utilities.Hist.xedges, RPFlatParams::EP.y, stAPVGain.y, TwoBodyDecayParameters.y, TkLayerMap::XYbin.y, SimplePixel.y, reco::MuonChamberMatch.y, online::BeamSpot_v1.y, HGCal_helpers::Coordinates.y, Phase2ITPixelCluster::Pixel.y, LHCInterpolatedOpticalFunctionsSet::Kinematics.y, reco::MuonSegmentMatch.y, PhiInterval.y, SiPixelCluster::Pixel.y, VertexType.y, Pixinfo.y, Hit.y, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.y, PixelModule.y, Clust.y, PixelUnpackingRegions::Module.y, Rechit.y, hit.y, MuonGeometryArrange::MGACollection.y, CTPPSLocalTrackLite.y, python.rootplot.root2matplotlib.Hist.y, BeamSpotOnlineRaw_v4.y, Exhume::CrossSection.y, edmStreamStallGrapher.Point.y, svgfig.Plot.y, svgfig.Frame.y, svgfig.Curve.Sample.y, svgfig.Text.y, svgfig.TextGlobal.y, and svgfig.HLine.y.
Referenced by python.rootplot.root2matplotlib.Hist.errorbarh().
def python.rootplot.root2matplotlib.Hist.barh | ( | self, | |
xerr = False , |
|||
yerr = False , |
|||
yoffset = 0. , |
|||
width = 0.8 , |
|||
label_rotation = 0 , |
|||
label_alignment = 'center' , |
|||
kwargs | |||
) |
Generate a horizontal matplotlib bar figure. All additional keyword arguments will be passed to :func:`matplotlib.pyplot.bar`.
Definition at line 208 of file root2matplotlib.py.
References python.rootplot.root2matplotlib.Hist._prepare_yaxis(), python.rootplot.utilities.Hist.av_xerr(), python.rootplot.utilities.Hist.av_yerr(), python.readProv.filereader.Module.label, core.AutoHandle.AutoHandle.label, L1TriggerKeyExtViewer.label, SubDetParams.label, ElectronLikelihoodCategoryData.label, entry< T >.label, SiPixelFedFillerWordEventNumber.label, classes.PlotData.label, l1t::L1GtBoardTypeStringToEnum.label, TtEvent::HypoClassKeyStringToEnum.label, HcalLutSet.label, L1GtBoardTypeStringToEnum.label, ConverterTester.label, l1t::L1TGtObjectStringToEnum.label, L1GtObjectStringToEnum.label, TaggingVariablePlotter::VariableConfig.label, SiPixelRawToDigi.label, SiPixelQualityESProducer.label, muon::SelectionTypeStringToEnum.label, HLTVertexPerformanceAnalyzer.label, hltPlot.label, FWPSetTableManager::PSetData.label, core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.label, L1GtPsbQuadStringToEnum.label, PhysicsTools::MVAModuleHelper< Record, Object, Filler >.label, python.rootplot.utilities.Hist2D.label, l1t::GtConditionTypeStringToEnum.label, DependencyGraph::node.label, MatrixInjector.MatrixInjector.label, ValidationMisalignedTracker.label, HLTBTagPerformanceAnalyzer.label, l1t::GtConditionCategoryStringToEnum.label, MatrixUtil.InputInfo.label, L1GtConditionTypeStringToEnum.label, python.rootplot.utilities.Hist.label, cond::payloadInspector::ModuleVersion.label, L1GtConditionCategoryStringToEnum.label, FastTimerService::GroupOfModules.label, ScaleVarWeight.label, JsonOutputProducer::JsonVars.label, python.rootplot.root2matplotlib.replace(), python.rootplot.root2matplotlib.Hist2D.replacements, python.rootplot.root2matplotlib.Hist.replacements, TmModule.width, DDTIDAxialCableAlgo.width, DDTECAxialCableAlgo.width, reco::CastorJetID.width, function::ZMuStandaloneFunction.width, function::ZMuMuFunction.width, function::ZMuMuScaledFunction.width, function::ZMuTrackFunction.width, btag::SimpleMatrix< T >.width, function::ZMuStandaloneScaledFunction.width, function::ZMuTrackScaledFunction.width, function::ZMuTrackScaledNormalBack.width, presentation.PageLayout.width, ProcNormalize::Map.width, DaqFakeReader.width, ProcLikelihood::SplinePDF.width, SiStripMonitorCluster::ClusterProperties.width, python.rootplot.utilities.Hist.width, TkAlMap.TkAlMap.width, dqmTnP::VoigtianPlusExponentialFitter.width, svgfig.Plot.width, svgfig.Frame.width, svgfig.Dots.width, python.rootplot.utilities.Hist2D.xedges, python.rootplot.utilities.Hist.xedges, RPFlatParams::EP.y, stAPVGain.y, TwoBodyDecayParameters.y, TkLayerMap::XYbin.y, SimplePixel.y, reco::MuonChamberMatch.y, online::BeamSpot_v1.y, HGCal_helpers::Coordinates.y, Phase2ITPixelCluster::Pixel.y, LHCInterpolatedOpticalFunctionsSet::Kinematics.y, reco::MuonSegmentMatch.y, PhiInterval.y, SiPixelCluster::Pixel.y, VertexType.y, Pixinfo.y, Hit.y, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.y, PixelModule.y, Clust.y, PixelUnpackingRegions::Module.y, Rechit.y, hit.y, MuonGeometryArrange::MGACollection.y, CTPPSLocalTrackLite.y, python.rootplot.root2matplotlib.Hist.y, BeamSpotOnlineRaw_v4.y, Exhume::CrossSection.y, edmStreamStallGrapher.Point.y, svgfig.Plot.y, svgfig.Frame.y, svgfig.Curve.Sample.y, svgfig.Text.y, svgfig.TextGlobal.y, and svgfig.HLine.y.
Referenced by python.rootplot.root2matplotlib.Hist.bar().
def python.rootplot.root2matplotlib.Hist.errorbar | ( | self, | |
xerr = False , |
|||
yerr = False , |
|||
label_rotation = 0 , |
|||
label_alignment = 'center' , |
|||
kwargs | |||
) |
Generate a matplotlib errorbar figure. All additional keyword arguments will be passed to :func:`matplotlib.pyplot.errorbar`.
Definition at line 155 of file root2matplotlib.py.
References python.rootplot.root2matplotlib.Hist._prepare_xaxis(), python.rootplot.root2matplotlib.Hist.errorbarh(), python.readProv.filereader.Module.label, core.AutoHandle.AutoHandle.label, L1TriggerKeyExtViewer.label, SubDetParams.label, ElectronLikelihoodCategoryData.label, entry< T >.label, classes.PlotData.label, SiPixelFedFillerWordEventNumber.label, l1t::L1GtBoardTypeStringToEnum.label, TtEvent::HypoClassKeyStringToEnum.label, HcalLutSet.label, L1GtBoardTypeStringToEnum.label, ConverterTester.label, l1t::L1TGtObjectStringToEnum.label, L1GtObjectStringToEnum.label, TaggingVariablePlotter::VariableConfig.label, SiPixelRawToDigi.label, SiPixelQualityESProducer.label, muon::SelectionTypeStringToEnum.label, HLTVertexPerformanceAnalyzer.label, hltPlot.label, FWPSetTableManager::PSetData.label, core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.label, L1GtPsbQuadStringToEnum.label, PhysicsTools::MVAModuleHelper< Record, Object, Filler >.label, python.rootplot.utilities.Hist2D.label, l1t::GtConditionTypeStringToEnum.label, DependencyGraph::node.label, MatrixInjector.MatrixInjector.label, ValidationMisalignedTracker.label, HLTBTagPerformanceAnalyzer.label, l1t::GtConditionCategoryStringToEnum.label, MatrixUtil.InputInfo.label, L1GtConditionTypeStringToEnum.label, python.rootplot.utilities.Hist.label, cond::payloadInspector::ModuleVersion.label, L1GtConditionCategoryStringToEnum.label, FastTimerService::GroupOfModules.label, ScaleVarWeight.label, JsonOutputProducer::JsonVars.label, python.rootplot.root2matplotlib.replace(), python.rootplot.root2matplotlib.Hist2D.replacements, python.rootplot.root2matplotlib.Hist.replacements, reco::MuonRPCHitMatch.x, RPFlatParams::EP.x, stAPVGain.x, TkLayerMap::XYbin.x, TwoBodyDecayParameters.x, SimplePixel.x, reco::MuonChamberMatch.x, online::BeamSpot_v1.x, HGCal_helpers::Coordinates.x, Phase2ITPixelCluster::Pixel.x, LHCInterpolatedOpticalFunctionsSet::Kinematics.x, reco::MuonSegmentMatch.x, SiPixelCluster::Pixel.x, PhiInterval.x, VertexType.x, Pixinfo.x, Hit.x, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, Clust.x, PixelModule.x, l1t::emtf::AMC13Header.x, python.rootplot.utilities.Hist2D.x, PixelUnpackingRegions::Module.x, Rechit.x, hit.x, CTPPSLocalTrackLite.x, MuonGeometryArrange::MGACollection.x, python.rootplot.utilities.Hist.x, BeamSpotOnlineRaw_v4.x, MuScleFitUtils.x, perftools::detail::Hist.x, edmStreamStallGrapher.Point.x, svgfig.Plot.x, svgfig.Frame.x, svgfig.Text.x, svgfig.TextGlobal.x, svgfig.VLine.x, PrimaryVertexMonitor.xerr, python.rootplot.utilities.Hist.xerr, RPFlatParams::EP.y, stAPVGain.y, TkLayerMap::XYbin.y, TwoBodyDecayParameters.y, SimplePixel.y, reco::MuonChamberMatch.y, online::BeamSpot_v1.y, HGCal_helpers::Coordinates.y, Phase2ITPixelCluster::Pixel.y, LHCInterpolatedOpticalFunctionsSet::Kinematics.y, reco::MuonSegmentMatch.y, PhiInterval.y, SiPixelCluster::Pixel.y, VertexType.y, Pixinfo.y, Hit.y, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.y, PixelModule.y, Clust.y, PixelUnpackingRegions::Module.y, Rechit.y, hit.y, MuonGeometryArrange::MGACollection.y, CTPPSLocalTrackLite.y, python.rootplot.root2matplotlib.Hist.y, BeamSpotOnlineRaw_v4.y, Exhume::CrossSection.y, edmStreamStallGrapher.Point.y, svgfig.Plot.y, svgfig.Frame.y, svgfig.Curve.Sample.y, svgfig.Text.y, svgfig.TextGlobal.y, svgfig.HLine.y, PrimaryVertexMonitor.yerr, and python.rootplot.utilities.Hist.yerr.
def python.rootplot.root2matplotlib.Hist.errorbarh | ( | self, | |
xerr = False , |
|||
yerr = False , |
|||
label_rotation = 0 , |
|||
label_alignment = 'center' , |
|||
kwargs | |||
) |
Generate a horizontal matplotlib errorbar figure. All additional keyword arguments will be passed to :func:`matplotlib.pyplot.errorbar`.
Definition at line 173 of file root2matplotlib.py.
References python.rootplot.root2matplotlib.Hist._prepare_yaxis(), python.rootplot.root2matplotlib.Hist.bar(), python.readProv.filereader.Module.label, core.AutoHandle.AutoHandle.label, L1TriggerKeyExtViewer.label, SubDetParams.label, ElectronLikelihoodCategoryData.label, entry< T >.label, classes.PlotData.label, SiPixelFedFillerWordEventNumber.label, l1t::L1GtBoardTypeStringToEnum.label, TtEvent::HypoClassKeyStringToEnum.label, HcalLutSet.label, L1GtBoardTypeStringToEnum.label, ConverterTester.label, l1t::L1TGtObjectStringToEnum.label, L1GtObjectStringToEnum.label, TaggingVariablePlotter::VariableConfig.label, SiPixelRawToDigi.label, SiPixelQualityESProducer.label, muon::SelectionTypeStringToEnum.label, HLTVertexPerformanceAnalyzer.label, hltPlot.label, FWPSetTableManager::PSetData.label, core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.label, L1GtPsbQuadStringToEnum.label, PhysicsTools::MVAModuleHelper< Record, Object, Filler >.label, python.rootplot.utilities.Hist2D.label, l1t::GtConditionTypeStringToEnum.label, DependencyGraph::node.label, MatrixInjector.MatrixInjector.label, ValidationMisalignedTracker.label, HLTBTagPerformanceAnalyzer.label, l1t::GtConditionCategoryStringToEnum.label, MatrixUtil.InputInfo.label, L1GtConditionTypeStringToEnum.label, python.rootplot.utilities.Hist.label, cond::payloadInspector::ModuleVersion.label, L1GtConditionCategoryStringToEnum.label, FastTimerService::GroupOfModules.label, ScaleVarWeight.label, JsonOutputProducer::JsonVars.label, python.rootplot.root2matplotlib.replace(), python.rootplot.root2matplotlib.Hist2D.replacements, python.rootplot.root2matplotlib.Hist.replacements, reco::MuonRPCHitMatch.x, RPFlatParams::EP.x, stAPVGain.x, TwoBodyDecayParameters.x, TkLayerMap::XYbin.x, SimplePixel.x, reco::MuonChamberMatch.x, online::BeamSpot_v1.x, HGCal_helpers::Coordinates.x, Phase2ITPixelCluster::Pixel.x, LHCInterpolatedOpticalFunctionsSet::Kinematics.x, reco::MuonSegmentMatch.x, SiPixelCluster::Pixel.x, PhiInterval.x, VertexType.x, Pixinfo.x, Hit.x, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, Clust.x, PixelModule.x, l1t::emtf::AMC13Header.x, python.rootplot.utilities.Hist2D.x, PixelUnpackingRegions::Module.x, Rechit.x, hit.x, CTPPSLocalTrackLite.x, MuonGeometryArrange::MGACollection.x, python.rootplot.utilities.Hist.x, BeamSpotOnlineRaw_v4.x, MuScleFitUtils.x, perftools::detail::Hist.x, edmStreamStallGrapher.Point.x, svgfig.Plot.x, svgfig.Frame.x, svgfig.Text.x, svgfig.TextGlobal.x, svgfig.VLine.x, PrimaryVertexMonitor.xerr, python.rootplot.utilities.Hist.xerr, RPFlatParams::EP.y, stAPVGain.y, TwoBodyDecayParameters.y, TkLayerMap::XYbin.y, SimplePixel.y, reco::MuonChamberMatch.y, online::BeamSpot_v1.y, HGCal_helpers::Coordinates.y, Phase2ITPixelCluster::Pixel.y, LHCInterpolatedOpticalFunctionsSet::Kinematics.y, reco::MuonSegmentMatch.y, PhiInterval.y, SiPixelCluster::Pixel.y, VertexType.y, Pixinfo.y, Hit.y, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.y, PixelModule.y, Clust.y, PixelUnpackingRegions::Module.y, Rechit.y, hit.y, MuonGeometryArrange::MGACollection.y, CTPPSLocalTrackLite.y, python.rootplot.root2matplotlib.Hist.y, BeamSpotOnlineRaw_v4.y, Exhume::CrossSection.y, edmStreamStallGrapher.Point.y, svgfig.Plot.y, svgfig.Frame.y, svgfig.Curve.Sample.y, svgfig.Text.y, svgfig.TextGlobal.y, svgfig.HLine.y, PrimaryVertexMonitor.yerr, and python.rootplot.utilities.Hist.yerr.
Referenced by python.rootplot.root2matplotlib.Hist.errorbar().
def python.rootplot.root2matplotlib.Hist.hist | ( | self, | |
label_rotation = 0 , |
|||
label_alignment = 'center' , |
|||
kwargs | |||
) |
Generate a matplotlib hist figure. All additional keyword arguments will be passed to :func:`matplotlib.pyplot.hist`.
Definition at line 137 of file root2matplotlib.py.
References python.rootplot.root2matplotlib.Hist2D.replacements, python.rootplot.root2matplotlib.Hist.replacements, RPFlatParams::EP.y, stAPVGain.y, TkLayerMap::XYbin.y, TwoBodyDecayParameters.y, SimplePixel.y, reco::MuonChamberMatch.y, online::BeamSpot_v1.y, HGCal_helpers::Coordinates.y, Phase2ITPixelCluster::Pixel.y, LHCInterpolatedOpticalFunctionsSet::Kinematics.y, reco::MuonSegmentMatch.y, PhiInterval.y, SiPixelCluster::Pixel.y, VertexType.y, Pixinfo.y, Hit.y, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.y, PixelModule.y, Clust.y, PixelUnpackingRegions::Module.y, Rechit.y, hit.y, MuonGeometryArrange::MGACollection.y, CTPPSLocalTrackLite.y, python.rootplot.root2matplotlib.Hist.y, BeamSpotOnlineRaw_v4.y, Exhume::CrossSection.y, edmStreamStallGrapher.Point.y, svgfig.Plot.y, svgfig.Frame.y, svgfig.Curve.Sample.y, svgfig.Text.y, svgfig.TextGlobal.y, and svgfig.HLine.y.
def python.rootplot.root2matplotlib.Hist.show_titles | ( | self, | |
kwargs | |||
) |
Print the title and axis labels to the current figure.
Definition at line 131 of file root2matplotlib.py.
References python.rootplot.root2matplotlib.replace(), python.rootplot.root2matplotlib.Hist2D.replacements, python.rootplot.root2matplotlib.Hist.replacements, classes.PlotData.title, EventStringOutputBranches::NamedBranchPtr.title, TriggerOutputBranches::NamedBranchPtr.title, preexistingValidation.PreexistingValidation.title, DB_ME.title, TableOutputBranches::NamedBranchPtr.title, cscdqm::HistoBookRequest.title, FWTriggerTableView::Column.title, DQMGenericClient::EfficOption.title, alignment.Alignment.title, DQMGenericClient::ProfileOption.title, dqmoffline::l1t::HistDefinition.title, SiPixelGenErrorHeader.title, ecaldqm::binning::AxisSpecs.title, python.rootplot.utilities.Hist2D.title, big::bigHeader.title, HistogramManager.title, SiPixelTemplateHeader2D.title, presentation.SubsectionBase.title, python.rootplot.utilities.Hist.title, Geometry.title, TkAlMap.TkAlMap.title, TrackerMap.title, SiPixelTemplateHeader.title, python.rootplot.utilities.Hist2D.xlabel, HistogramManager.xlabel, python.rootplot.utilities.Hist.xlabel, python.rootplot.utilities.Hist2D.ylabel, HistogramManager.ylabel, python.rootplot.utilities.Hist.ylabel, and rpcdqm::utils.ylabel.
python.rootplot.root2matplotlib.Hist.replacements |
Definition at line 111 of file root2matplotlib.py.
Referenced by python.rootplot.root2matplotlib.Hist.bar(), python.rootplot.root2matplotlib.Hist.barh(), python.rootplot.root2matplotlib.Hist.errorbar(), python.rootplot.root2matplotlib.Hist.errorbarh(), python.rootplot.root2matplotlib.Hist.hist(), and python.rootplot.root2matplotlib.Hist.show_titles().
python.rootplot.root2matplotlib.Hist.y |
Definition at line 148 of file root2matplotlib.py.
Referenced by python.rootplot.utilities.Hist.__getitem__(), python.rootplot.utilities.Hist.__init_TGraph(), python.rootplot.utilities.Hist.__iter__(), svgfig.Ellipse.__repr__(), python.rootplot.utilities.Hist.__setitem__(), Vispa.Gui.WidgetContainer.WidgetContainer.autosize(), python.rootplot.root2matplotlib.Hist.bar(), python.rootplot.root2matplotlib.Hist.barh(), Vispa.Gui.VispaWidget.VispaWidget.boundingRect(), python.rootplot.root2matplotlib.Hist2D.box(), python.rootplot.root2matplotlib.Hist2D.contour(), python.rootplot.utilities.Hist.divide_wilson(), python.rootplot.root2matplotlib.Hist.errorbar(), python.rootplot.root2matplotlib.Hist.errorbarh(), python.rootplot.root2matplotlib.Hist.hist(), python.rootplot.utilities.Hist.min(), geometryXMLparser.Alignable.pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget.positionizeMenuWidget(), ntupleDataFormat._HitObject.r(), ntupleDataFormat._HitObject.r3D(), python.rootplot.utilities.Hist.scale(), python.rootplot.utilities.Hist.TGraph(), and python.rootplot.utilities.Hist.TH1F().