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,11 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._marker import MarkerValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__, [], ["._marker.MarkerValidator"]
|
||||
)
|
@ -0,0 +1,24 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class MarkerValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(
|
||||
self, plotly_name="marker", parent_name="waterfall.decreasing", **kwargs
|
||||
):
|
||||
super(MarkerValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Marker"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
color
|
||||
Sets the marker color of all decreasing values.
|
||||
line
|
||||
:class:`plotly.graph_objects.waterfall.decreasi
|
||||
ng.marker.Line` instance or dict with
|
||||
compatible properties
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._line import LineValidator
|
||||
from ._color import ColorValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__, [], ["._line.LineValidator", "._color.ColorValidator"]
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="color", parent_name="waterfall.decreasing.marker", **kwargs
|
||||
):
|
||||
super(ColorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", False),
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,22 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LineValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(
|
||||
self, plotly_name="line", parent_name="waterfall.decreasing.marker", **kwargs
|
||||
):
|
||||
super(LineValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Line"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
color
|
||||
Sets the line color of all decreasing values.
|
||||
width
|
||||
Sets the line width of all decreasing values.
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._width import WidthValidator
|
||||
from ._color import ColorValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__, [], ["._width.WidthValidator", "._color.ColorValidator"]
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="color",
|
||||
parent_name="waterfall.decreasing.marker.line",
|
||||
**kwargs,
|
||||
):
|
||||
super(ColorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", False),
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class WidthValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="width",
|
||||
parent_name="waterfall.decreasing.marker.line",
|
||||
**kwargs,
|
||||
):
|
||||
super(WidthValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
array_ok=kwargs.pop("array_ok", False),
|
||||
edit_type=kwargs.pop("edit_type", "style"),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
Reference in New Issue
Block a user