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,16 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._t import TValidator
|
||||
from ._r import RValidator
|
||||
from ._l import LValidator
|
||||
from ._b import BValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
["._t.TValidator", "._r.RValidator", "._l.LValidator", "._b.BValidator"],
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class BValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="b", parent_name="layout.title.pad", **kwargs):
|
||||
super(BValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "layoutstyle"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="l", parent_name="layout.title.pad", **kwargs):
|
||||
super(LValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "layoutstyle"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class RValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="r", parent_name="layout.title.pad", **kwargs):
|
||||
super(RValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "layoutstyle"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="t", parent_name="layout.title.pad", **kwargs):
|
||||
super(TValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "layoutstyle"),
|
||||
**kwargs,
|
||||
)
|
Reference in New Issue
Block a user