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,21 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._y import YValidator
|
||||
from ._x import XValidator
|
||||
from ._row import RowValidator
|
||||
from ._column import ColumnValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
[
|
||||
"._y.YValidator",
|
||||
"._x.XValidator",
|
||||
"._row.RowValidator",
|
||||
"._column.ColumnValidator",
|
||||
],
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColumnValidator(_plotly_utils.basevalidators.IntegerValidator):
|
||||
def __init__(
|
||||
self, plotly_name="column", parent_name="layout.polar.domain", **kwargs
|
||||
):
|
||||
super(ColumnValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class RowValidator(_plotly_utils.basevalidators.IntegerValidator):
|
||||
def __init__(self, plotly_name="row", parent_name="layout.polar.domain", **kwargs):
|
||||
super(RowValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class XValidator(_plotly_utils.basevalidators.InfoArrayValidator):
|
||||
def __init__(self, plotly_name="x", parent_name="layout.polar.domain", **kwargs):
|
||||
super(XValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
items=kwargs.pop(
|
||||
"items",
|
||||
[
|
||||
{"editType": "plot", "max": 1, "min": 0, "valType": "number"},
|
||||
{"editType": "plot", "max": 1, "min": 0, "valType": "number"},
|
||||
],
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class YValidator(_plotly_utils.basevalidators.InfoArrayValidator):
|
||||
def __init__(self, plotly_name="y", parent_name="layout.polar.domain", **kwargs):
|
||||
super(YValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
items=kwargs.pop(
|
||||
"items",
|
||||
[
|
||||
{"editType": "plot", "max": 1, "min": 0, "valType": "number"},
|
||||
{"editType": "plot", "max": 1, "min": 0, "valType": "number"},
|
||||
],
|
||||
),
|
||||
**kwargs,
|
||||
)
|
Reference in New Issue
Block a user