mirror of
https://github.com/aykhans/AzSuicideDataVisualization.git
synced 2025-07-01 14:07:48 +00:00
first commit
This commit is contained in:
105
.venv/Lib/site-packages/plotly/validators/ohlc/__init__.py
Normal file
105
.venv/Lib/site-packages/plotly/validators/ohlc/__init__.py
Normal file
@ -0,0 +1,105 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._yhoverformat import YhoverformatValidator
|
||||
from ._yaxis import YaxisValidator
|
||||
from ._xsrc import XsrcValidator
|
||||
from ._xperiodalignment import XperiodalignmentValidator
|
||||
from ._xperiod0 import Xperiod0Validator
|
||||
from ._xperiod import XperiodValidator
|
||||
from ._xhoverformat import XhoverformatValidator
|
||||
from ._xcalendar import XcalendarValidator
|
||||
from ._xaxis import XaxisValidator
|
||||
from ._x import XValidator
|
||||
from ._visible import VisibleValidator
|
||||
from ._uirevision import UirevisionValidator
|
||||
from ._uid import UidValidator
|
||||
from ._tickwidth import TickwidthValidator
|
||||
from ._textsrc import TextsrcValidator
|
||||
from ._text import TextValidator
|
||||
from ._stream import StreamValidator
|
||||
from ._showlegend import ShowlegendValidator
|
||||
from ._selectedpoints import SelectedpointsValidator
|
||||
from ._opensrc import OpensrcValidator
|
||||
from ._open import OpenValidator
|
||||
from ._opacity import OpacityValidator
|
||||
from ._name import NameValidator
|
||||
from ._metasrc import MetasrcValidator
|
||||
from ._meta import MetaValidator
|
||||
from ._lowsrc import LowsrcValidator
|
||||
from ._low import LowValidator
|
||||
from ._line import LineValidator
|
||||
from ._legendrank import LegendrankValidator
|
||||
from ._legendgrouptitle import LegendgrouptitleValidator
|
||||
from ._legendgroup import LegendgroupValidator
|
||||
from ._increasing import IncreasingValidator
|
||||
from ._idssrc import IdssrcValidator
|
||||
from ._ids import IdsValidator
|
||||
from ._hovertextsrc import HovertextsrcValidator
|
||||
from ._hovertext import HovertextValidator
|
||||
from ._hoverlabel import HoverlabelValidator
|
||||
from ._hoverinfosrc import HoverinfosrcValidator
|
||||
from ._hoverinfo import HoverinfoValidator
|
||||
from ._highsrc import HighsrcValidator
|
||||
from ._high import HighValidator
|
||||
from ._decreasing import DecreasingValidator
|
||||
from ._customdatasrc import CustomdatasrcValidator
|
||||
from ._customdata import CustomdataValidator
|
||||
from ._closesrc import ClosesrcValidator
|
||||
from ._close import CloseValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
[
|
||||
"._yhoverformat.YhoverformatValidator",
|
||||
"._yaxis.YaxisValidator",
|
||||
"._xsrc.XsrcValidator",
|
||||
"._xperiodalignment.XperiodalignmentValidator",
|
||||
"._xperiod0.Xperiod0Validator",
|
||||
"._xperiod.XperiodValidator",
|
||||
"._xhoverformat.XhoverformatValidator",
|
||||
"._xcalendar.XcalendarValidator",
|
||||
"._xaxis.XaxisValidator",
|
||||
"._x.XValidator",
|
||||
"._visible.VisibleValidator",
|
||||
"._uirevision.UirevisionValidator",
|
||||
"._uid.UidValidator",
|
||||
"._tickwidth.TickwidthValidator",
|
||||
"._textsrc.TextsrcValidator",
|
||||
"._text.TextValidator",
|
||||
"._stream.StreamValidator",
|
||||
"._showlegend.ShowlegendValidator",
|
||||
"._selectedpoints.SelectedpointsValidator",
|
||||
"._opensrc.OpensrcValidator",
|
||||
"._open.OpenValidator",
|
||||
"._opacity.OpacityValidator",
|
||||
"._name.NameValidator",
|
||||
"._metasrc.MetasrcValidator",
|
||||
"._meta.MetaValidator",
|
||||
"._lowsrc.LowsrcValidator",
|
||||
"._low.LowValidator",
|
||||
"._line.LineValidator",
|
||||
"._legendrank.LegendrankValidator",
|
||||
"._legendgrouptitle.LegendgrouptitleValidator",
|
||||
"._legendgroup.LegendgroupValidator",
|
||||
"._increasing.IncreasingValidator",
|
||||
"._idssrc.IdssrcValidator",
|
||||
"._ids.IdsValidator",
|
||||
"._hovertextsrc.HovertextsrcValidator",
|
||||
"._hovertext.HovertextValidator",
|
||||
"._hoverlabel.HoverlabelValidator",
|
||||
"._hoverinfosrc.HoverinfosrcValidator",
|
||||
"._hoverinfo.HoverinfoValidator",
|
||||
"._highsrc.HighsrcValidator",
|
||||
"._high.HighValidator",
|
||||
"._decreasing.DecreasingValidator",
|
||||
"._customdatasrc.CustomdatasrcValidator",
|
||||
"._customdata.CustomdataValidator",
|
||||
"._closesrc.ClosesrcValidator",
|
||||
"._close.CloseValidator",
|
||||
],
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_close.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_close.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class CloseValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(self, plotly_name="close", parent_name="ohlc", **kwargs):
|
||||
super(CloseValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_closesrc.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_closesrc.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ClosesrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="closesrc", parent_name="ohlc", **kwargs):
|
||||
super(ClosesrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class CustomdataValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(self, plotly_name="customdata", parent_name="ohlc", **kwargs):
|
||||
super(CustomdataValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class CustomdatasrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="customdatasrc", parent_name="ohlc", **kwargs):
|
||||
super(CustomdatasrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,19 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class DecreasingValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(self, plotly_name="decreasing", parent_name="ohlc", **kwargs):
|
||||
super(DecreasingValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Decreasing"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
line
|
||||
:class:`plotly.graph_objects.ohlc.decreasing.Li
|
||||
ne` instance or dict with compatible properties
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_high.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_high.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class HighValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(self, plotly_name="high", parent_name="ohlc", **kwargs):
|
||||
super(HighValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_highsrc.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_highsrc.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class HighsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="highsrc", parent_name="ohlc", **kwargs):
|
||||
super(HighsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
14
.venv/Lib/site-packages/plotly/validators/ohlc/_hoverinfo.py
Normal file
14
.venv/Lib/site-packages/plotly/validators/ohlc/_hoverinfo.py
Normal file
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class HoverinfoValidator(_plotly_utils.basevalidators.FlaglistValidator):
|
||||
def __init__(self, plotly_name="hoverinfo", parent_name="ohlc", **kwargs):
|
||||
super(HoverinfoValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
extras=kwargs.pop("extras", ["all", "none", "skip"]),
|
||||
flags=kwargs.pop("flags", ["x", "y", "z", "text", "name"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class HoverinfosrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="hoverinfosrc", parent_name="ohlc", **kwargs):
|
||||
super(HoverinfosrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,54 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class HoverlabelValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(self, plotly_name="hoverlabel", parent_name="ohlc", **kwargs):
|
||||
super(HoverlabelValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Hoverlabel"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
align
|
||||
Sets the horizontal alignment of the text
|
||||
content within hover label box. Has an effect
|
||||
only if the hover label text spans more two or
|
||||
more lines
|
||||
alignsrc
|
||||
Sets the source reference on Chart Studio Cloud
|
||||
for `align`.
|
||||
bgcolor
|
||||
Sets the background color of the hover labels
|
||||
for this trace
|
||||
bgcolorsrc
|
||||
Sets the source reference on Chart Studio Cloud
|
||||
for `bgcolor`.
|
||||
bordercolor
|
||||
Sets the border color of the hover labels for
|
||||
this trace.
|
||||
bordercolorsrc
|
||||
Sets the source reference on Chart Studio Cloud
|
||||
for `bordercolor`.
|
||||
font
|
||||
Sets the font used in hover labels.
|
||||
namelength
|
||||
Sets the default length (in number of
|
||||
characters) of the trace name in the hover
|
||||
labels for all traces. -1 shows the whole name
|
||||
regardless of length. 0-3 shows the first 0-3
|
||||
characters, and an integer >3 will show the
|
||||
whole name if it is less than that many
|
||||
characters, but if it is longer, will truncate
|
||||
to `namelength - 3` characters and add an
|
||||
ellipsis.
|
||||
namelengthsrc
|
||||
Sets the source reference on Chart Studio Cloud
|
||||
for `namelength`.
|
||||
split
|
||||
Show hover information (open, close, high, low)
|
||||
in separate labels.
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
12
.venv/Lib/site-packages/plotly/validators/ohlc/_hovertext.py
Normal file
12
.venv/Lib/site-packages/plotly/validators/ohlc/_hovertext.py
Normal file
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class HovertextValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(self, plotly_name="hovertext", parent_name="ohlc", **kwargs):
|
||||
super(HovertextValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class HovertextsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="hovertextsrc", parent_name="ohlc", **kwargs):
|
||||
super(HovertextsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_ids.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_ids.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class IdsValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(self, plotly_name="ids", parent_name="ohlc", **kwargs):
|
||||
super(IdsValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_idssrc.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_idssrc.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class IdssrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="idssrc", parent_name="ohlc", **kwargs):
|
||||
super(IdssrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,19 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class IncreasingValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(self, plotly_name="increasing", parent_name="ohlc", **kwargs):
|
||||
super(IncreasingValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Increasing"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
line
|
||||
:class:`plotly.graph_objects.ohlc.increasing.Li
|
||||
ne` instance or dict with compatible properties
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LegendgroupValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(self, plotly_name="legendgroup", parent_name="ohlc", **kwargs):
|
||||
super(LegendgroupValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,20 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LegendgrouptitleValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(self, plotly_name="legendgrouptitle", parent_name="ohlc", **kwargs):
|
||||
super(LegendgrouptitleValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Legendgrouptitle"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
font
|
||||
Sets this legend group's title font.
|
||||
text
|
||||
Sets the title of the legend group.
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LegendrankValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="legendrank", parent_name="ohlc", **kwargs):
|
||||
super(LegendrankValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
**kwargs,
|
||||
)
|
29
.venv/Lib/site-packages/plotly/validators/ohlc/_line.py
Normal file
29
.venv/Lib/site-packages/plotly/validators/ohlc/_line.py
Normal file
@ -0,0 +1,29 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LineValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(self, plotly_name="line", parent_name="ohlc", **kwargs):
|
||||
super(LineValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Line"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
dash
|
||||
Sets the dash style of lines. Set to a dash
|
||||
type string ("solid", "dot", "dash",
|
||||
"longdash", "dashdot", or "longdashdot") or a
|
||||
dash length list in px (eg "5px,10px,2px,2px").
|
||||
Note that this style setting can also be set
|
||||
per direction via `increasing.line.dash` and
|
||||
`decreasing.line.dash`.
|
||||
width
|
||||
[object Object] Note that this style setting
|
||||
can also be set per direction via
|
||||
`increasing.line.width` and
|
||||
`decreasing.line.width`.
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_low.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_low.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LowValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(self, plotly_name="low", parent_name="ohlc", **kwargs):
|
||||
super(LowValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_lowsrc.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_lowsrc.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LowsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="lowsrc", parent_name="ohlc", **kwargs):
|
||||
super(LowsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
12
.venv/Lib/site-packages/plotly/validators/ohlc/_meta.py
Normal file
12
.venv/Lib/site-packages/plotly/validators/ohlc/_meta.py
Normal file
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class MetaValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(self, plotly_name="meta", parent_name="ohlc", **kwargs):
|
||||
super(MetaValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_metasrc.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_metasrc.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class MetasrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="metasrc", parent_name="ohlc", **kwargs):
|
||||
super(MetasrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_name.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_name.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class NameValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(self, plotly_name="name", parent_name="ohlc", **kwargs):
|
||||
super(NameValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
**kwargs,
|
||||
)
|
13
.venv/Lib/site-packages/plotly/validators/ohlc/_opacity.py
Normal file
13
.venv/Lib/site-packages/plotly/validators/ohlc/_opacity.py
Normal file
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class OpacityValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="opacity", parent_name="ohlc", **kwargs):
|
||||
super(OpacityValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
max=kwargs.pop("max", 1),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_open.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_open.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class OpenValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(self, plotly_name="open", parent_name="ohlc", **kwargs):
|
||||
super(OpenValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_opensrc.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_opensrc.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class OpensrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="opensrc", parent_name="ohlc", **kwargs):
|
||||
super(OpensrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SelectedpointsValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(self, plotly_name="selectedpoints", parent_name="ohlc", **kwargs):
|
||||
super(SelectedpointsValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ShowlegendValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(self, plotly_name="showlegend", parent_name="ohlc", **kwargs):
|
||||
super(ShowlegendValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
**kwargs,
|
||||
)
|
25
.venv/Lib/site-packages/plotly/validators/ohlc/_stream.py
Normal file
25
.venv/Lib/site-packages/plotly/validators/ohlc/_stream.py
Normal file
@ -0,0 +1,25 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class StreamValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(self, plotly_name="stream", parent_name="ohlc", **kwargs):
|
||||
super(StreamValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Stream"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
maxpoints
|
||||
Sets the maximum number of points to keep on
|
||||
the plots from an incoming stream. If
|
||||
`maxpoints` is set to 50, only the newest 50
|
||||
points will be displayed on the plot.
|
||||
token
|
||||
The stream id number links a data trace on a
|
||||
plot with a stream. See https://chart-
|
||||
studio.plotly.com/settings for more details.
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
12
.venv/Lib/site-packages/plotly/validators/ohlc/_text.py
Normal file
12
.venv/Lib/site-packages/plotly/validators/ohlc/_text.py
Normal file
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TextValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(self, plotly_name="text", parent_name="ohlc", **kwargs):
|
||||
super(TextValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_textsrc.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_textsrc.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TextsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="textsrc", parent_name="ohlc", **kwargs):
|
||||
super(TextsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
13
.venv/Lib/site-packages/plotly/validators/ohlc/_tickwidth.py
Normal file
13
.venv/Lib/site-packages/plotly/validators/ohlc/_tickwidth.py
Normal file
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickwidthValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="tickwidth", parent_name="ohlc", **kwargs):
|
||||
super(TickwidthValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 0.5),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_uid.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_uid.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class UidValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(self, plotly_name="uid", parent_name="ohlc", **kwargs):
|
||||
super(UidValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class UirevisionValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(self, plotly_name="uirevision", parent_name="ohlc", **kwargs):
|
||||
super(UirevisionValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
12
.venv/Lib/site-packages/plotly/validators/ohlc/_visible.py
Normal file
12
.venv/Lib/site-packages/plotly/validators/ohlc/_visible.py
Normal file
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class VisibleValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(self, plotly_name="visible", parent_name="ohlc", **kwargs):
|
||||
super(VisibleValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
values=kwargs.pop("values", [True, False, "legendonly"]),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_x.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_x.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class XValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(self, plotly_name="x", parent_name="ohlc", **kwargs):
|
||||
super(XValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc+clearAxisTypes"),
|
||||
**kwargs,
|
||||
)
|
12
.venv/Lib/site-packages/plotly/validators/ohlc/_xaxis.py
Normal file
12
.venv/Lib/site-packages/plotly/validators/ohlc/_xaxis.py
Normal file
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class XaxisValidator(_plotly_utils.basevalidators.SubplotidValidator):
|
||||
def __init__(self, plotly_name="xaxis", parent_name="ohlc", **kwargs):
|
||||
super(XaxisValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
dflt=kwargs.pop("dflt", "x"),
|
||||
edit_type=kwargs.pop("edit_type", "calc+clearAxisTypes"),
|
||||
**kwargs,
|
||||
)
|
32
.venv/Lib/site-packages/plotly/validators/ohlc/_xcalendar.py
Normal file
32
.venv/Lib/site-packages/plotly/validators/ohlc/_xcalendar.py
Normal file
@ -0,0 +1,32 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class XcalendarValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(self, plotly_name="xcalendar", parent_name="ohlc", **kwargs):
|
||||
super(XcalendarValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
values=kwargs.pop(
|
||||
"values",
|
||||
[
|
||||
"chinese",
|
||||
"coptic",
|
||||
"discworld",
|
||||
"ethiopian",
|
||||
"gregorian",
|
||||
"hebrew",
|
||||
"islamic",
|
||||
"jalali",
|
||||
"julian",
|
||||
"mayan",
|
||||
"nanakshahi",
|
||||
"nepali",
|
||||
"persian",
|
||||
"taiwan",
|
||||
"thai",
|
||||
"ummalqura",
|
||||
],
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class XhoverformatValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(self, plotly_name="xhoverformat", parent_name="ohlc", **kwargs):
|
||||
super(XhoverformatValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_xperiod.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_xperiod.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class XperiodValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(self, plotly_name="xperiod", parent_name="ohlc", **kwargs):
|
||||
super(XperiodValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_xperiod0.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_xperiod0.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class Xperiod0Validator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(self, plotly_name="xperiod0", parent_name="ohlc", **kwargs):
|
||||
super(Xperiod0Validator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class XperiodalignmentValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(self, plotly_name="xperiodalignment", parent_name="ohlc", **kwargs):
|
||||
super(XperiodalignmentValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
values=kwargs.pop("values", ["start", "middle", "end"]),
|
||||
**kwargs,
|
||||
)
|
11
.venv/Lib/site-packages/plotly/validators/ohlc/_xsrc.py
Normal file
11
.venv/Lib/site-packages/plotly/validators/ohlc/_xsrc.py
Normal file
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class XsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="xsrc", parent_name="ohlc", **kwargs):
|
||||
super(XsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
12
.venv/Lib/site-packages/plotly/validators/ohlc/_yaxis.py
Normal file
12
.venv/Lib/site-packages/plotly/validators/ohlc/_yaxis.py
Normal file
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class YaxisValidator(_plotly_utils.basevalidators.SubplotidValidator):
|
||||
def __init__(self, plotly_name="yaxis", parent_name="ohlc", **kwargs):
|
||||
super(YaxisValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
dflt=kwargs.pop("dflt", "y"),
|
||||
edit_type=kwargs.pop("edit_type", "calc+clearAxisTypes"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class YhoverformatValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(self, plotly_name="yhoverformat", parent_name="ohlc", **kwargs):
|
||||
super(YhoverformatValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._line import LineValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__, [], ["._line.LineValidator"]
|
||||
)
|
@ -0,0 +1,25 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LineValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(self, plotly_name="line", parent_name="ohlc.decreasing", **kwargs):
|
||||
super(LineValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Line"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
color
|
||||
Sets the line color.
|
||||
dash
|
||||
Sets the dash style of lines. Set to a dash
|
||||
type string ("solid", "dot", "dash",
|
||||
"longdash", "dashdot", or "longdashdot") or a
|
||||
dash length list in px (eg "5px,10px,2px,2px").
|
||||
width
|
||||
Sets the line width (in px).
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._width import WidthValidator
|
||||
from ._dash import DashValidator
|
||||
from ._color import ColorValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
["._width.WidthValidator", "._dash.DashValidator", "._color.ColorValidator"],
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="color", parent_name="ohlc.decreasing.line", **kwargs
|
||||
):
|
||||
super(ColorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class DashValidator(_plotly_utils.basevalidators.DashValidator):
|
||||
def __init__(
|
||||
self, plotly_name="dash", parent_name="ohlc.decreasing.line", **kwargs
|
||||
):
|
||||
super(DashValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
values=kwargs.pop(
|
||||
"values", ["solid", "dot", "dash", "longdash", "dashdot", "longdashdot"]
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class WidthValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="width", parent_name="ohlc.decreasing.line", **kwargs
|
||||
):
|
||||
super(WidthValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,33 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._split import SplitValidator
|
||||
from ._namelengthsrc import NamelengthsrcValidator
|
||||
from ._namelength import NamelengthValidator
|
||||
from ._font import FontValidator
|
||||
from ._bordercolorsrc import BordercolorsrcValidator
|
||||
from ._bordercolor import BordercolorValidator
|
||||
from ._bgcolorsrc import BgcolorsrcValidator
|
||||
from ._bgcolor import BgcolorValidator
|
||||
from ._alignsrc import AlignsrcValidator
|
||||
from ._align import AlignValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
[
|
||||
"._split.SplitValidator",
|
||||
"._namelengthsrc.NamelengthsrcValidator",
|
||||
"._namelength.NamelengthValidator",
|
||||
"._font.FontValidator",
|
||||
"._bordercolorsrc.BordercolorsrcValidator",
|
||||
"._bordercolor.BordercolorValidator",
|
||||
"._bgcolorsrc.BgcolorsrcValidator",
|
||||
"._bgcolor.BgcolorValidator",
|
||||
"._alignsrc.AlignsrcValidator",
|
||||
"._align.AlignValidator",
|
||||
],
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class AlignValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(self, plotly_name="align", parent_name="ohlc.hoverlabel", **kwargs):
|
||||
super(AlignValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
values=kwargs.pop("values", ["left", "right", "auto"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class AlignsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(self, plotly_name="alignsrc", parent_name="ohlc.hoverlabel", **kwargs):
|
||||
super(AlignsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class BgcolorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(self, plotly_name="bgcolor", parent_name="ohlc.hoverlabel", **kwargs):
|
||||
super(BgcolorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class BgcolorsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="bgcolorsrc", parent_name="ohlc.hoverlabel", **kwargs
|
||||
):
|
||||
super(BgcolorsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class BordercolorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="bordercolor", parent_name="ohlc.hoverlabel", **kwargs
|
||||
):
|
||||
super(BordercolorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class BordercolorsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="bordercolorsrc", parent_name="ohlc.hoverlabel", **kwargs
|
||||
):
|
||||
super(BordercolorsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,46 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(self, plotly_name="font", parent_name="ohlc.hoverlabel", **kwargs):
|
||||
super(FontValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Font"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
color
|
||||
|
||||
colorsrc
|
||||
Sets the source reference on Chart Studio Cloud
|
||||
for `color`.
|
||||
family
|
||||
HTML font family - the typeface that will be
|
||||
applied by the web browser. The web browser
|
||||
will only be able to apply a font if it is
|
||||
available on the system which it operates.
|
||||
Provide multiple font families, separated by
|
||||
commas, to indicate the preference in which to
|
||||
apply fonts if they aren't available on the
|
||||
system. The Chart Studio Cloud (at
|
||||
https://chart-studio.plotly.com or on-premise)
|
||||
generates images on a server, where only a
|
||||
select number of fonts are installed and
|
||||
supported. These include "Arial", "Balto",
|
||||
"Courier New", "Droid Sans",, "Droid Serif",
|
||||
"Droid Sans Mono", "Gravitas One", "Old
|
||||
Standard TT", "Open Sans", "Overpass", "PT Sans
|
||||
Narrow", "Raleway", "Times New Roman".
|
||||
familysrc
|
||||
Sets the source reference on Chart Studio Cloud
|
||||
for `family`.
|
||||
size
|
||||
|
||||
sizesrc
|
||||
Sets the source reference on Chart Studio Cloud
|
||||
for `size`.
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class NamelengthValidator(_plotly_utils.basevalidators.IntegerValidator):
|
||||
def __init__(
|
||||
self, plotly_name="namelength", parent_name="ohlc.hoverlabel", **kwargs
|
||||
):
|
||||
super(NamelengthValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
min=kwargs.pop("min", -1),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class NamelengthsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="namelengthsrc", parent_name="ohlc.hoverlabel", **kwargs
|
||||
):
|
||||
super(NamelengthsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SplitValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(self, plotly_name="split", parent_name="ohlc.hoverlabel", **kwargs):
|
||||
super(SplitValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,25 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._sizesrc import SizesrcValidator
|
||||
from ._size import SizeValidator
|
||||
from ._familysrc import FamilysrcValidator
|
||||
from ._family import FamilyValidator
|
||||
from ._colorsrc import ColorsrcValidator
|
||||
from ._color import ColorValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
[
|
||||
"._sizesrc.SizesrcValidator",
|
||||
"._size.SizeValidator",
|
||||
"._familysrc.FamilysrcValidator",
|
||||
"._family.FamilyValidator",
|
||||
"._colorsrc.ColorsrcValidator",
|
||||
"._color.ColorValidator",
|
||||
],
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="color", parent_name="ohlc.hoverlabel.font", **kwargs
|
||||
):
|
||||
super(ColorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="colorsrc", parent_name="ohlc.hoverlabel.font", **kwargs
|
||||
):
|
||||
super(ColorsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FamilyValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="family", parent_name="ohlc.hoverlabel.font", **kwargs
|
||||
):
|
||||
super(FamilyValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
no_blank=kwargs.pop("no_blank", True),
|
||||
strict=kwargs.pop("strict", True),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FamilysrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="familysrc", parent_name="ohlc.hoverlabel.font", **kwargs
|
||||
):
|
||||
super(FamilysrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SizeValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="size", parent_name="ohlc.hoverlabel.font", **kwargs
|
||||
):
|
||||
super(SizeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
min=kwargs.pop("min", 1),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SizesrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="sizesrc", parent_name="ohlc.hoverlabel.font", **kwargs
|
||||
):
|
||||
super(SizesrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._line import LineValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__, [], ["._line.LineValidator"]
|
||||
)
|
@ -0,0 +1,25 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LineValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(self, plotly_name="line", parent_name="ohlc.increasing", **kwargs):
|
||||
super(LineValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Line"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
color
|
||||
Sets the line color.
|
||||
dash
|
||||
Sets the dash style of lines. Set to a dash
|
||||
type string ("solid", "dot", "dash",
|
||||
"longdash", "dashdot", or "longdashdot") or a
|
||||
dash length list in px (eg "5px,10px,2px,2px").
|
||||
width
|
||||
Sets the line width (in px).
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._width import WidthValidator
|
||||
from ._dash import DashValidator
|
||||
from ._color import ColorValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
["._width.WidthValidator", "._dash.DashValidator", "._color.ColorValidator"],
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="color", parent_name="ohlc.increasing.line", **kwargs
|
||||
):
|
||||
super(ColorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class DashValidator(_plotly_utils.basevalidators.DashValidator):
|
||||
def __init__(
|
||||
self, plotly_name="dash", parent_name="ohlc.increasing.line", **kwargs
|
||||
):
|
||||
super(DashValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
values=kwargs.pop(
|
||||
"values", ["solid", "dot", "dash", "longdash", "dashdot", "longdashdot"]
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class WidthValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="width", parent_name="ohlc.increasing.line", **kwargs
|
||||
):
|
||||
super(WidthValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._text import TextValidator
|
||||
from ._font import FontValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__, [], ["._text.TextValidator", "._font.FontValidator"]
|
||||
)
|
@ -0,0 +1,39 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(
|
||||
self, plotly_name="font", parent_name="ohlc.legendgrouptitle", **kwargs
|
||||
):
|
||||
super(FontValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Font"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
color
|
||||
|
||||
family
|
||||
HTML font family - the typeface that will be
|
||||
applied by the web browser. The web browser
|
||||
will only be able to apply a font if it is
|
||||
available on the system which it operates.
|
||||
Provide multiple font families, separated by
|
||||
commas, to indicate the preference in which to
|
||||
apply fonts if they aren't available on the
|
||||
system. The Chart Studio Cloud (at
|
||||
https://chart-studio.plotly.com or on-premise)
|
||||
generates images on a server, where only a
|
||||
select number of fonts are installed and
|
||||
supported. These include "Arial", "Balto",
|
||||
"Courier New", "Droid Sans",, "Droid Serif",
|
||||
"Droid Sans Mono", "Gravitas One", "Old
|
||||
Standard TT", "Open Sans", "Overpass", "PT Sans
|
||||
Narrow", "Raleway", "Times New Roman".
|
||||
size
|
||||
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TextValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="text", parent_name="ohlc.legendgrouptitle", **kwargs
|
||||
):
|
||||
super(TextValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._size import SizeValidator
|
||||
from ._family import FamilyValidator
|
||||
from ._color import ColorValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
["._size.SizeValidator", "._family.FamilyValidator", "._color.ColorValidator"],
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="color", parent_name="ohlc.legendgrouptitle.font", **kwargs
|
||||
):
|
||||
super(ColorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FamilyValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="family", parent_name="ohlc.legendgrouptitle.font", **kwargs
|
||||
):
|
||||
super(FamilyValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
no_blank=kwargs.pop("no_blank", True),
|
||||
strict=kwargs.pop("strict", True),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SizeValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="size", parent_name="ohlc.legendgrouptitle.font", **kwargs
|
||||
):
|
||||
super(SizeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
min=kwargs.pop("min", 1),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._width import WidthValidator
|
||||
from ._dash import DashValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__, [], ["._width.WidthValidator", "._dash.DashValidator"]
|
||||
)
|
14
.venv/Lib/site-packages/plotly/validators/ohlc/line/_dash.py
Normal file
14
.venv/Lib/site-packages/plotly/validators/ohlc/line/_dash.py
Normal file
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class DashValidator(_plotly_utils.basevalidators.DashValidator):
|
||||
def __init__(self, plotly_name="dash", parent_name="ohlc.line", **kwargs):
|
||||
super(DashValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
values=kwargs.pop(
|
||||
"values", ["solid", "dot", "dash", "longdash", "dashdot", "longdashdot"]
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class WidthValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="width", parent_name="ohlc.line", **kwargs):
|
||||
super(WidthValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._token import TokenValidator
|
||||
from ._maxpoints import MaxpointsValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__, [], ["._token.TokenValidator", "._maxpoints.MaxpointsValidator"]
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class MaxpointsValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="maxpoints", parent_name="ohlc.stream", **kwargs):
|
||||
super(MaxpointsValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 10000),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TokenValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(self, plotly_name="token", parent_name="ohlc.stream", **kwargs):
|
||||
super(TokenValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
no_blank=kwargs.pop("no_blank", True),
|
||||
strict=kwargs.pop("strict", True),
|
||||
**kwargs,
|
||||
)
|
Reference in New Issue
Block a user