Public Member Functions | |
def | __init__ (self, x1, x2, y, **attr) |
def | __repr__ (self) |
def | Path (self, trans=None, local=False) |
Public Member Functions inherited from svgfig.Line | |
def | __init__ (self, x1, y1, x2, y2, arrow_start=None, arrow_end=None, **attr) |
def | SVG (self, trans=None) |
Public Member Functions inherited from svgfig.Curve | |
def | __init__ (self, f, low, high, loop=False, **attr) |
def | sample (self, trans=None) |
end nested class More... | |
def | subsample (self, left, right, depth, trans=None) |
Public Attributes | |
attr | |
y | |
y1 | |
y2 | |
Public Attributes inherited from svgfig.Line | |
arrow_end | |
attr | |
f | |
high | |
loop | |
low | |
y2 | |
Public Attributes inherited from svgfig.Curve | |
attr | |
f | |
high | |
last_samples | |
loop | |
low | |
Static Public Attributes | |
dictionary | defaults = {} |
Static Public Attributes inherited from svgfig.Line | |
dictionary | defaults = {} |
Static Public Attributes inherited from svgfig.Curve | |
dictionary | defaults = {} |
int | discontinuity_limit = 5. |
float | linearity_limit = 0.05 |
bool | random_sampling = True |
int | recursion_limit = 15 |
Draws a horizontal line. HLine(x1, x2, y, attribute=value) x1, x2 required x range y required y position attribute=value pairs keyword list SVG attributes
def svgfig.HLine.__init__ | ( | self, | |
x1, | |||
x2, | |||
y, | |||
** | attr | ||
) |
def svgfig.HLine.__repr__ | ( | self | ) |
Reimplemented from svgfig.Line.
Definition at line 2162 of file svgfig.py.
References svgfig.SVG.attr, svgfig.Path.attr, svgfig.Curve.attr, reco::PdfInfo.x1, L1MonitorDigi.x1(), L1DataEmulDigi.x1(), TrackingTools_PatternTools::dictionary.x1, CTPPSFastTrack.x1(), DDTrap.x1(), cms::dd::DDTrap.x1(), DDPseudoTrap.x1(), APD.x1, Exhume::CrossSection.x1, svgfig.VLine.x1, svgfig.YAxis.x1, reco::PdfInfo.x2, L1MonitorDigi.x2(), L1DataEmulDigi.x2(), TrackingTools_PatternTools::dictionary.x2, CTPPSFastTrack.x2(), DDTrap.x2(), cms::dd::DDTrap.x2(), DDPseudoTrap.x2(), APD.x2, Exhume::CrossSection.x2, trklet::IMATH_TrackletCalculatorDisk.x2, trklet::IMATH_TrackletCalculatorOverlap.x2, trklet::IMATH_TrackletCalculator.x2, svgfig.VLine.x2, svgfig.YAxis.x2, MuonGeometryArrange::MGACollection.y, svgfig.Plot.y, svgfig.Frame.y, svgfig.Curve.Sample.y, svgfig.Text.y, svgfig.TextGlobal.y, and svgfig.HLine.y.
Referenced by data_sources.json_file.__str__().
Apply the transformation "trans" and return a Path object in global coordinates. If local=True, return a Path in local coordinates (which must be transformed again).
Reimplemented from svgfig.Line.
Definition at line 2171 of file svgfig.py.
svgfig.HLine.attr |
Definition at line 2167 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), svgfig.Axes.__repr__(), svgfig.HGrid.__repr__(), svgfig.VGrid.__repr__(), svgfig.Grid.__repr__(), svgfig.Axes.SVG(), svgfig.XErrorBars.SVG(), and svgfig.YErrorBars.SVG().
|
static |
Definition at line 2160 of file svgfig.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
svgfig.HLine.y |
Definition at line 2166 of file svgfig.py.
Referenced by python.rootplot.utilities.Hist.__getitem__(), python.rootplot.utilities.Hist.__init_TGraph(), python.rootplot.utilities.Hist.__iter__(), svgfig.HLine.__repr__(), svgfig.Ellipse.__repr__(), python.rootplot.utilities.Hist.__setitem__(), edmStreamStallGrapher.Point.__str__(), python.rootplot.root2matplotlib.Hist.bar(), python.rootplot.root2matplotlib.Hist.barh(), python.rootplot.root2matplotlib.Hist2D.box(), python.rootplot.root2matplotlib.Hist2D.contour(), python.rootplot.utilities.Hist.delete_bin(), 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(), ntupleDataFormat._HitObject.r(), ntupleDataFormat._HitObject.r3D(), python.rootplot.utilities.Hist.scale(), python.rootplot.utilities.Hist.TGraph(), and python.rootplot.utilities.Hist.TH1F().
svgfig.HLine.y1 |
Definition at line 2175 of file svgfig.py.
Referenced by svgfig.Line.__repr__(), svgfig.LineGlobal.__repr__(), svgfig.VLine.__repr__(), svgfig.Rect.__repr__(), svgfig.LineAxis.__repr__(), svgfig.Rect.Path(), and svgfig.LineGlobal.SVG().
svgfig.HLine.y2 |
Definition at line 2176 of file svgfig.py.
Referenced by svgfig.Rect.__repr__(), and svgfig.Rect.Path().