mirror of
https://github.com/aykhans/AzSuicideDataVisualization.git
synced 2025-07-01 22:13:01 +00:00
first commit
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._z import ZValidator
|
||||
from ._y import YValidator
|
||||
from ._x import XValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__, [], ["._z.ZValidator", "._y.YValidator", "._x.XValidator"]
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class XValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="x", parent_name="volume.lightposition", **kwargs):
|
||||
super(XValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 100000),
|
||||
min=kwargs.pop("min", -100000),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class YValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="y", parent_name="volume.lightposition", **kwargs):
|
||||
super(YValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 100000),
|
||||
min=kwargs.pop("min", -100000),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ZValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="z", parent_name="volume.lightposition", **kwargs):
|
||||
super(ZValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
max=kwargs.pop("max", 100000),
|
||||
min=kwargs.pop("min", -100000),
|
||||
**kwargs,
|
||||
)
|
Reference in New Issue
Block a user