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,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,
)