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,25 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._sizesrc import SizesrcValidator
|
||||
from ._size import SizeValidator
|
||||
from ._familysrc import FamilysrcValidator
|
||||
from ._family import FamilyValidator
|
||||
from ._colorsrc import ColorsrcValidator
|
||||
from ._color import ColorValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
[
|
||||
"._sizesrc.SizesrcValidator",
|
||||
"._size.SizeValidator",
|
||||
"._familysrc.FamilysrcValidator",
|
||||
"._family.FamilyValidator",
|
||||
"._colorsrc.ColorsrcValidator",
|
||||
"._color.ColorValidator",
|
||||
],
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(self, plotly_name="color", parent_name="pie.insidetextfont", **kwargs):
|
||||
super(ColorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="colorsrc", parent_name="pie.insidetextfont", **kwargs
|
||||
):
|
||||
super(ColorsrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FamilyValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="family", parent_name="pie.insidetextfont", **kwargs
|
||||
):
|
||||
super(FamilyValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
no_blank=kwargs.pop("no_blank", True),
|
||||
strict=kwargs.pop("strict", True),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FamilysrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="familysrc", parent_name="pie.insidetextfont", **kwargs
|
||||
):
|
||||
super(FamilysrcValidator, 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 SizeValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="size", parent_name="pie.insidetextfont", **kwargs):
|
||||
super(SizeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", True),
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
min=kwargs.pop("min", 1),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SizesrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="sizesrc", parent_name="pie.insidetextfont", **kwargs
|
||||
):
|
||||
super(SizesrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
Reference in New Issue
Block a user