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,15 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._start import StartValidator
|
||||
from ._size import SizeValidator
|
||||
from ._end import EndValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
["._start.StartValidator", "._size.SizeValidator", "._end.EndValidator"],
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class EndValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(self, plotly_name="end", parent_name="histogram2d.ybins", **kwargs):
|
||||
super(EndValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SizeValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(self, plotly_name="size", parent_name="histogram2d.ybins", **kwargs):
|
||||
super(SizeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class StartValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(self, plotly_name="start", parent_name="histogram2d.ybins", **kwargs):
|
||||
super(StartValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
Reference in New Issue
Block a user