mirror of
https://github.com/aykhans/AzSuicideDataVisualization.git
synced 2025-07-02 06:22:25 +00:00
first commit
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._vertexnormalsepsilon import VertexnormalsepsilonValidator
|
||||
from ._specular import SpecularValidator
|
||||
from ._roughness import RoughnessValidator
|
||||
from ._fresnel import FresnelValidator
|
||||
from ._facenormalsepsilon import FacenormalsepsilonValidator
|
||||
from ._diffuse import DiffuseValidator
|
||||
from ._ambient import AmbientValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
[
|
||||
"._vertexnormalsepsilon.VertexnormalsepsilonValidator",
|
||||
"._specular.SpecularValidator",
|
||||
"._roughness.RoughnessValidator",
|
||||
"._fresnel.FresnelValidator",
|
||||
"._facenormalsepsilon.FacenormalsepsilonValidator",
|
||||
"._diffuse.DiffuseValidator",
|
||||
"._ambient.AmbientValidator",
|
||||
],
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class AmbientValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="ambient", parent_name="streamtube.lighting", **kwargs
|
||||
):
|
||||
super(AmbientValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 1),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class DiffuseValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="diffuse", parent_name="streamtube.lighting", **kwargs
|
||||
):
|
||||
super(DiffuseValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 1),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FacenormalsepsilonValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="facenormalsepsilon",
|
||||
parent_name="streamtube.lighting",
|
||||
**kwargs,
|
||||
):
|
||||
super(FacenormalsepsilonValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 1),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FresnelValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="fresnel", parent_name="streamtube.lighting", **kwargs
|
||||
):
|
||||
super(FresnelValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 5),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class RoughnessValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="roughness", parent_name="streamtube.lighting", **kwargs
|
||||
):
|
||||
super(RoughnessValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 1),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SpecularValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="specular", parent_name="streamtube.lighting", **kwargs
|
||||
):
|
||||
super(SpecularValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 2),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class VertexnormalsepsilonValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="vertexnormalsepsilon",
|
||||
parent_name="streamtube.lighting",
|
||||
**kwargs,
|
||||
):
|
||||
super(VertexnormalsepsilonValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 1),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
Reference in New Issue
Block a user