Public Member Functions | |
def | __init__ (self, y1, y2, x, **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 | |
x | |
x1 | |
x2 | |
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 vertical line. VLine(y1, y2, x, attribute=value) y1, y2 required y range x required x position attribute=value pairs keyword list SVG attributes
def svgfig.VLine.__init__ | ( | self, | |
y1, | |||
y2, | |||
x, | |||
** | attr | ||
) |
def svgfig.VLine.__repr__ | ( | self | ) |
Reimplemented from svgfig.Line.
Definition at line 2134 of file svgfig.py.
References svgfig.SVG.attr, svgfig.Path.attr, svgfig.Curve.attr, MuonGeometryArrange::MGACollection.x, svgfig.Plot.x, svgfig.Frame.x, svgfig.Text.x, svgfig.TextGlobal.x, svgfig.VLine.x, CTPPSFastTrack.y1(), DDTrap.y1(), DDPseudoTrap.y1(), svgfig.HLine.y1, svgfig.XAxis.y1, and svgfig.Line.y2.
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 2143 of file svgfig.py.
svgfig.VLine.attr |
Definition at line 2139 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 2132 of file svgfig.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
svgfig.VLine.x |
Definition at line 2138 of file svgfig.py.
Referenced by python.rootplot.utilities.Hist.__init_TGraph(), svgfig.Curve.Sample.__repr__(), svgfig.VLine.__repr__(), svgfig.Ellipse.__repr__(), edmStreamStallGrapher.Point.__str__(), python.rootplot.root2matplotlib.Hist._prepare_xaxis(), python.rootplot.root2matplotlib.Hist._prepare_yaxis(), python.rootplot.root2matplotlib.Hist2D.box(), python.rootplot.root2matplotlib.Hist2D.contour(), python.rootplot.utilities.Hist.delete_bin(), python.rootplot.root2matplotlib.Hist.errorbar(), python.rootplot.root2matplotlib.Hist.errorbarh(), geometryXMLparser.Alignable.pos(), ntupleDataFormat._HitObject.r(), ntupleDataFormat._HitObject.r3D(), and python.rootplot.utilities.Hist.TGraph().
svgfig.VLine.x1 |
Definition at line 2147 of file svgfig.py.
Referenced by svgfig.Line.__repr__(), svgfig.LineGlobal.__repr__(), svgfig.HLine.__repr__(), svgfig.Rect.__repr__(), svgfig.LineAxis.__repr__(), svgfig.Rect.Path(), and svgfig.LineGlobal.SVG().
svgfig.VLine.x2 |
Definition at line 2148 of file svgfig.py.
Referenced by svgfig.Line.__repr__(), svgfig.LineGlobal.__repr__(), svgfig.HLine.__repr__(), svgfig.Rect.__repr__(), svgfig.LineAxis.__repr__(), svgfig.Rect.Path(), and svgfig.LineGlobal.SVG().