first commit

This commit is contained in:
Ayxan
2022-05-23 00:16:32 +04:00
commit d660f2a4ca
24786 changed files with 4428337 additions and 0 deletions

View File

@ -0,0 +1,27 @@
import sys
from typing import TYPE_CHECKING
if sys.version_info < (3, 7) or TYPE_CHECKING:
from ._visible import VisibleValidator
from ._valuessrc import ValuessrcValidator
from ._values import ValuesValidator
from ._templateitemname import TemplateitemnameValidator
from ._name import NameValidator
from ._label import LabelValidator
from ._axis import AxisValidator
else:
from _plotly_utils.importers import relative_import
__all__, __getattr__, __dir__ = relative_import(
__name__,
[],
[
"._visible.VisibleValidator",
"._valuessrc.ValuessrcValidator",
"._values.ValuesValidator",
"._templateitemname.TemplateitemnameValidator",
"._name.NameValidator",
"._label.LabelValidator",
"._axis.AxisValidator",
],
)

View File

@ -0,0 +1,26 @@
import _plotly_utils.basevalidators
class AxisValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="axis", parent_name="splom.dimension", **kwargs):
super(AxisValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
data_class_str=kwargs.pop("data_class_str", "Axis"),
data_docs=kwargs.pop(
"data_docs",
"""
matches
Determines whether or not the x & y axes
generated by this dimension match. Equivalent
to setting the `matches` axis attribute in the
layout with the correct axis id.
type
Sets the axis type for this dimension's
generated x and y axes. Note that the axis
`type` values set in layout take precedence
over this attribute.
""",
),
**kwargs,
)

View File

@ -0,0 +1,11 @@
import _plotly_utils.basevalidators
class LabelValidator(_plotly_utils.basevalidators.StringValidator):
def __init__(self, plotly_name="label", parent_name="splom.dimension", **kwargs):
super(LabelValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "calc"),
**kwargs,
)

View File

@ -0,0 +1,11 @@
import _plotly_utils.basevalidators
class NameValidator(_plotly_utils.basevalidators.StringValidator):
def __init__(self, plotly_name="name", parent_name="splom.dimension", **kwargs):
super(NameValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "none"),
**kwargs,
)

View File

@ -0,0 +1,13 @@
import _plotly_utils.basevalidators
class TemplateitemnameValidator(_plotly_utils.basevalidators.StringValidator):
def __init__(
self, plotly_name="templateitemname", parent_name="splom.dimension", **kwargs
):
super(TemplateitemnameValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "calc"),
**kwargs,
)

View File

@ -0,0 +1,11 @@
import _plotly_utils.basevalidators
class ValuesValidator(_plotly_utils.basevalidators.DataArrayValidator):
def __init__(self, plotly_name="values", parent_name="splom.dimension", **kwargs):
super(ValuesValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "calc+clearAxisTypes"),
**kwargs,
)

View File

@ -0,0 +1,13 @@
import _plotly_utils.basevalidators
class ValuessrcValidator(_plotly_utils.basevalidators.SrcValidator):
def __init__(
self, plotly_name="valuessrc", parent_name="splom.dimension", **kwargs
):
super(ValuessrcValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "none"),
**kwargs,
)

View File

@ -0,0 +1,11 @@
import _plotly_utils.basevalidators
class VisibleValidator(_plotly_utils.basevalidators.BooleanValidator):
def __init__(self, plotly_name="visible", parent_name="splom.dimension", **kwargs):
super(VisibleValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "calc"),
**kwargs,
)

View File

@ -0,0 +1,12 @@
import sys
from typing import TYPE_CHECKING
if sys.version_info < (3, 7) or TYPE_CHECKING:
from ._type import TypeValidator
from ._matches import MatchesValidator
else:
from _plotly_utils.importers import relative_import
__all__, __getattr__, __dir__ = relative_import(
__name__, [], ["._type.TypeValidator", "._matches.MatchesValidator"]
)

View File

@ -0,0 +1,13 @@
import _plotly_utils.basevalidators
class MatchesValidator(_plotly_utils.basevalidators.BooleanValidator):
def __init__(
self, plotly_name="matches", parent_name="splom.dimension.axis", **kwargs
):
super(MatchesValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "calc"),
**kwargs,
)

View File

@ -0,0 +1,14 @@
import _plotly_utils.basevalidators
class TypeValidator(_plotly_utils.basevalidators.EnumeratedValidator):
def __init__(
self, plotly_name="type", parent_name="splom.dimension.axis", **kwargs
):
super(TypeValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "calc+clearAxisTypes"),
values=kwargs.pop("values", ["linear", "log", "date", "category"]),
**kwargs,
)