mirror of
https://github.com/aykhans/AzSuicideDataVisualization.git
synced 2025-07-02 14:27:31 +00:00
first commit
This commit is contained in:
@ -0,0 +1,41 @@
|
||||
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 ._tickvalssrc import TickvalssrcValidator
|
||||
from ._tickvals import TickvalsValidator
|
||||
from ._ticktextsrc import TicktextsrcValidator
|
||||
from ._ticktext import TicktextValidator
|
||||
from ._tickformat import TickformatValidator
|
||||
from ._templateitemname import TemplateitemnameValidator
|
||||
from ._range import RangeValidator
|
||||
from ._name import NameValidator
|
||||
from ._multiselect import MultiselectValidator
|
||||
from ._label import LabelValidator
|
||||
from ._constraintrange import ConstraintrangeValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
[
|
||||
"._visible.VisibleValidator",
|
||||
"._valuessrc.ValuessrcValidator",
|
||||
"._values.ValuesValidator",
|
||||
"._tickvalssrc.TickvalssrcValidator",
|
||||
"._tickvals.TickvalsValidator",
|
||||
"._ticktextsrc.TicktextsrcValidator",
|
||||
"._ticktext.TicktextValidator",
|
||||
"._tickformat.TickformatValidator",
|
||||
"._templateitemname.TemplateitemnameValidator",
|
||||
"._range.RangeValidator",
|
||||
"._name.NameValidator",
|
||||
"._multiselect.MultiselectValidator",
|
||||
"._label.LabelValidator",
|
||||
"._constraintrange.ConstraintrangeValidator",
|
||||
],
|
||||
)
|
@ -0,0 +1,22 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ConstraintrangeValidator(_plotly_utils.basevalidators.InfoArrayValidator):
|
||||
def __init__(
|
||||
self, plotly_name="constraintrange", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(ConstraintrangeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
dimensions=kwargs.pop("dimensions", "1-2"),
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
free_length=kwargs.pop("free_length", True),
|
||||
items=kwargs.pop(
|
||||
"items",
|
||||
[
|
||||
{"editType": "plot", "valType": "any"},
|
||||
{"editType": "plot", "valType": "any"},
|
||||
],
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LabelValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="label", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(LabelValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class MultiselectValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="multiselect", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(MultiselectValidator, 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 NameValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(self, plotly_name="name", parent_name="parcoords.dimension", **kwargs):
|
||||
super(NameValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,20 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class RangeValidator(_plotly_utils.basevalidators.InfoArrayValidator):
|
||||
def __init__(
|
||||
self, plotly_name="range", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(RangeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
items=kwargs.pop(
|
||||
"items",
|
||||
[
|
||||
{"editType": "plot", "valType": "number"},
|
||||
{"editType": "plot", "valType": "number"},
|
||||
],
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TemplateitemnameValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="templateitemname",
|
||||
parent_name="parcoords.dimension",
|
||||
**kwargs,
|
||||
):
|
||||
super(TemplateitemnameValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickformatValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickformat", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(TickformatValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TicktextValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(
|
||||
self, plotly_name="ticktext", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(TicktextValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TicktextsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="ticktextsrc", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(TicktextsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickvalsValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickvals", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(TickvalsValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickvalssrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickvalssrc", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(TickvalssrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ValuesValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(
|
||||
self, plotly_name="values", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(ValuesValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ValuessrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="valuessrc", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(ValuessrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class VisibleValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="visible", parent_name="parcoords.dimension", **kwargs
|
||||
):
|
||||
super(VisibleValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
Reference in New Issue
Block a user