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,19 @@
import sys
from typing import TYPE_CHECKING
if sys.version_info < (3, 7) or TYPE_CHECKING:
from ._enabled import EnabledValidator
from ._direction import DirectionValidator
from ._currentbin import CurrentbinValidator
else:
from _plotly_utils.importers import relative_import
__all__, __getattr__, __dir__ = relative_import(
__name__,
[],
[
"._enabled.EnabledValidator",
"._direction.DirectionValidator",
"._currentbin.CurrentbinValidator",
],
)

View File

@ -0,0 +1,14 @@
import _plotly_utils.basevalidators
class CurrentbinValidator(_plotly_utils.basevalidators.EnumeratedValidator):
def __init__(
self, plotly_name="currentbin", parent_name="histogram.cumulative", **kwargs
):
super(CurrentbinValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "calc"),
values=kwargs.pop("values", ["include", "exclude", "half"]),
**kwargs,
)

View File

@ -0,0 +1,14 @@
import _plotly_utils.basevalidators
class DirectionValidator(_plotly_utils.basevalidators.EnumeratedValidator):
def __init__(
self, plotly_name="direction", parent_name="histogram.cumulative", **kwargs
):
super(DirectionValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "calc"),
values=kwargs.pop("values", ["increasing", "decreasing"]),
**kwargs,
)

View File

@ -0,0 +1,13 @@
import _plotly_utils.basevalidators
class EnabledValidator(_plotly_utils.basevalidators.BooleanValidator):
def __init__(
self, plotly_name="enabled", parent_name="histogram.cumulative", **kwargs
):
super(EnabledValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "calc"),
**kwargs,
)