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,109 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._visible import VisibleValidator
|
||||
from ._uirevision import UirevisionValidator
|
||||
from ._type import TypeValidator
|
||||
from ._tickwidth import TickwidthValidator
|
||||
from ._tickvalssrc import TickvalssrcValidator
|
||||
from ._tickvals import TickvalsValidator
|
||||
from ._ticktextsrc import TicktextsrcValidator
|
||||
from ._ticktext import TicktextValidator
|
||||
from ._ticksuffix import TicksuffixValidator
|
||||
from ._ticks import TicksValidator
|
||||
from ._tickprefix import TickprefixValidator
|
||||
from ._tickmode import TickmodeValidator
|
||||
from ._ticklen import TicklenValidator
|
||||
from ._ticklabelstep import TicklabelstepValidator
|
||||
from ._tickformatstopdefaults import TickformatstopdefaultsValidator
|
||||
from ._tickformatstops import TickformatstopsValidator
|
||||
from ._tickformat import TickformatValidator
|
||||
from ._tickfont import TickfontValidator
|
||||
from ._tickcolor import TickcolorValidator
|
||||
from ._tickangle import TickangleValidator
|
||||
from ._tick0 import Tick0Validator
|
||||
from ._thetaunit import ThetaunitValidator
|
||||
from ._showticksuffix import ShowticksuffixValidator
|
||||
from ._showtickprefix import ShowtickprefixValidator
|
||||
from ._showticklabels import ShowticklabelsValidator
|
||||
from ._showline import ShowlineValidator
|
||||
from ._showgrid import ShowgridValidator
|
||||
from ._showexponent import ShowexponentValidator
|
||||
from ._separatethousands import SeparatethousandsValidator
|
||||
from ._rotation import RotationValidator
|
||||
from ._period import PeriodValidator
|
||||
from ._nticks import NticksValidator
|
||||
from ._minexponent import MinexponentValidator
|
||||
from ._linewidth import LinewidthValidator
|
||||
from ._linecolor import LinecolorValidator
|
||||
from ._layer import LayerValidator
|
||||
from ._hoverformat import HoverformatValidator
|
||||
from ._gridwidth import GridwidthValidator
|
||||
from ._griddash import GriddashValidator
|
||||
from ._gridcolor import GridcolorValidator
|
||||
from ._exponentformat import ExponentformatValidator
|
||||
from ._dtick import DtickValidator
|
||||
from ._direction import DirectionValidator
|
||||
from ._color import ColorValidator
|
||||
from ._categoryorder import CategoryorderValidator
|
||||
from ._categoryarraysrc import CategoryarraysrcValidator
|
||||
from ._categoryarray import CategoryarrayValidator
|
||||
from ._autotypenumbers import AutotypenumbersValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
[
|
||||
"._visible.VisibleValidator",
|
||||
"._uirevision.UirevisionValidator",
|
||||
"._type.TypeValidator",
|
||||
"._tickwidth.TickwidthValidator",
|
||||
"._tickvalssrc.TickvalssrcValidator",
|
||||
"._tickvals.TickvalsValidator",
|
||||
"._ticktextsrc.TicktextsrcValidator",
|
||||
"._ticktext.TicktextValidator",
|
||||
"._ticksuffix.TicksuffixValidator",
|
||||
"._ticks.TicksValidator",
|
||||
"._tickprefix.TickprefixValidator",
|
||||
"._tickmode.TickmodeValidator",
|
||||
"._ticklen.TicklenValidator",
|
||||
"._ticklabelstep.TicklabelstepValidator",
|
||||
"._tickformatstopdefaults.TickformatstopdefaultsValidator",
|
||||
"._tickformatstops.TickformatstopsValidator",
|
||||
"._tickformat.TickformatValidator",
|
||||
"._tickfont.TickfontValidator",
|
||||
"._tickcolor.TickcolorValidator",
|
||||
"._tickangle.TickangleValidator",
|
||||
"._tick0.Tick0Validator",
|
||||
"._thetaunit.ThetaunitValidator",
|
||||
"._showticksuffix.ShowticksuffixValidator",
|
||||
"._showtickprefix.ShowtickprefixValidator",
|
||||
"._showticklabels.ShowticklabelsValidator",
|
||||
"._showline.ShowlineValidator",
|
||||
"._showgrid.ShowgridValidator",
|
||||
"._showexponent.ShowexponentValidator",
|
||||
"._separatethousands.SeparatethousandsValidator",
|
||||
"._rotation.RotationValidator",
|
||||
"._period.PeriodValidator",
|
||||
"._nticks.NticksValidator",
|
||||
"._minexponent.MinexponentValidator",
|
||||
"._linewidth.LinewidthValidator",
|
||||
"._linecolor.LinecolorValidator",
|
||||
"._layer.LayerValidator",
|
||||
"._hoverformat.HoverformatValidator",
|
||||
"._gridwidth.GridwidthValidator",
|
||||
"._griddash.GriddashValidator",
|
||||
"._gridcolor.GridcolorValidator",
|
||||
"._exponentformat.ExponentformatValidator",
|
||||
"._dtick.DtickValidator",
|
||||
"._direction.DirectionValidator",
|
||||
"._color.ColorValidator",
|
||||
"._categoryorder.CategoryorderValidator",
|
||||
"._categoryarraysrc.CategoryarraysrcValidator",
|
||||
"._categoryarray.CategoryarrayValidator",
|
||||
"._autotypenumbers.AutotypenumbersValidator",
|
||||
],
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class AutotypenumbersValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="autotypenumbers",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(AutotypenumbersValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
values=kwargs.pop("values", ["convert types", "strict"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class CategoryarrayValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="categoryarray",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(CategoryarrayValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class CategoryarraysrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="categoryarraysrc",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(CategoryarraysrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,37 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class CategoryorderValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="categoryorder",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(CategoryorderValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
values=kwargs.pop(
|
||||
"values",
|
||||
[
|
||||
"trace",
|
||||
"category ascending",
|
||||
"category descending",
|
||||
"array",
|
||||
"total ascending",
|
||||
"total descending",
|
||||
"min ascending",
|
||||
"min descending",
|
||||
"max ascending",
|
||||
"max descending",
|
||||
"sum ascending",
|
||||
"sum descending",
|
||||
"mean ascending",
|
||||
"mean descending",
|
||||
"median ascending",
|
||||
"median descending",
|
||||
],
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="color", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(ColorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class DirectionValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="direction", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(DirectionValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
values=kwargs.pop("values", ["counterclockwise", "clockwise"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class DtickValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(
|
||||
self, plotly_name="dtick", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(DtickValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
implied_edits=kwargs.pop("implied_edits", {"tickmode": "linear"}),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ExponentformatValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="exponentformat",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(ExponentformatValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
values=kwargs.pop("values", ["none", "e", "E", "power", "SI", "B"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class GridcolorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="gridcolor", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(GridcolorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class GriddashValidator(_plotly_utils.basevalidators.DashValidator):
|
||||
def __init__(
|
||||
self, plotly_name="griddash", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(GriddashValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
values=kwargs.pop(
|
||||
"values", ["solid", "dot", "dash", "longdash", "dashdot", "longdashdot"]
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class GridwidthValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="gridwidth", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(GridwidthValidator, 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,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class HoverformatValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="hoverformat",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(HoverformatValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LayerValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="layer", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(LayerValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
values=kwargs.pop("values", ["above traces", "below traces"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LinecolorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="linecolor", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(LinecolorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class LinewidthValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="linewidth", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(LinewidthValidator, 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,17 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class MinexponentValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="minexponent",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(MinexponentValidator, 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,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class NticksValidator(_plotly_utils.basevalidators.IntegerValidator):
|
||||
def __init__(
|
||||
self, plotly_name="nticks", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(NticksValidator, 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,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class PeriodValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="period", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(PeriodValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
min=kwargs.pop("min", 0),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class RotationValidator(_plotly_utils.basevalidators.AngleValidator):
|
||||
def __init__(
|
||||
self, plotly_name="rotation", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(RotationValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SeparatethousandsValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="separatethousands",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(SeparatethousandsValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ShowexponentValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="showexponent",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(ShowexponentValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
values=kwargs.pop("values", ["all", "first", "last", "none"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ShowgridValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="showgrid", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(ShowgridValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ShowlineValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="showline", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(ShowlineValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ShowticklabelsValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="showticklabels",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(ShowticklabelsValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ShowtickprefixValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="showtickprefix",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(ShowtickprefixValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
values=kwargs.pop("values", ["all", "first", "last", "none"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ShowticksuffixValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="showticksuffix",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(ShowticksuffixValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
values=kwargs.pop("values", ["all", "first", "last", "none"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ThetaunitValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="thetaunit", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(ThetaunitValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
values=kwargs.pop("values", ["radians", "degrees"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class Tick0Validator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tick0", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(Tick0Validator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
implied_edits=kwargs.pop("implied_edits", {"tickmode": "linear"}),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickangleValidator(_plotly_utils.basevalidators.AngleValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickangle", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TickangleValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickcolorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickcolor", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TickcolorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,39 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickfontValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickfont", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TickfontValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Tickfont"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
color
|
||||
|
||||
family
|
||||
HTML font family - the typeface that will be
|
||||
applied by the web browser. The web browser
|
||||
will only be able to apply a font if it is
|
||||
available on the system which it operates.
|
||||
Provide multiple font families, separated by
|
||||
commas, to indicate the preference in which to
|
||||
apply fonts if they aren't available on the
|
||||
system. The Chart Studio Cloud (at
|
||||
https://chart-studio.plotly.com or on-premise)
|
||||
generates images on a server, where only a
|
||||
select number of fonts are installed and
|
||||
supported. These include "Arial", "Balto",
|
||||
"Courier New", "Droid Sans",, "Droid Serif",
|
||||
"Droid Sans Mono", "Gravitas One", "Old
|
||||
Standard TT", "Open Sans", "Overpass", "PT Sans
|
||||
Narrow", "Raleway", "Times New Roman".
|
||||
size
|
||||
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickformatValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickformat", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TickformatValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,21 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickformatstopdefaultsValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="tickformatstopdefaults",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(TickformatstopdefaultsValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Tickformatstop"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,54 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickformatstopsValidator(_plotly_utils.basevalidators.CompoundArrayValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="tickformatstops",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(TickformatstopsValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Tickformatstop"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
dtickrange
|
||||
range [*min*, *max*], where "min", "max" -
|
||||
dtick values which describe some zoom level, it
|
||||
is possible to omit "min" or "max" value by
|
||||
passing "null"
|
||||
enabled
|
||||
Determines whether or not this stop is used. If
|
||||
`false`, this stop is ignored even within its
|
||||
`dtickrange`.
|
||||
name
|
||||
When used in a template, named items are
|
||||
created in the output figure in addition to any
|
||||
items the figure already has in this array. You
|
||||
can modify these items in the output figure by
|
||||
making your own item with `templateitemname`
|
||||
matching this `name` alongside your
|
||||
modifications (including `visible: false` or
|
||||
`enabled: false` to hide it). Has no effect
|
||||
outside of a template.
|
||||
templateitemname
|
||||
Used to refer to a named item in this array in
|
||||
the template. Named items from the template
|
||||
will be created even without a matching item in
|
||||
the input figure, but you can modify one by
|
||||
making an item with `templateitemname` matching
|
||||
its `name`, alongside your modifications
|
||||
(including `visible: false` or `enabled: false`
|
||||
to hide it). If there is no template or no
|
||||
matching item, this item will be hidden unless
|
||||
you explicitly show it with `visible: true`.
|
||||
value
|
||||
string - dtickformat for described zoom level,
|
||||
the same as "tickformat"
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TicklabelstepValidator(_plotly_utils.basevalidators.IntegerValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="ticklabelstep",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(TicklabelstepValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
min=kwargs.pop("min", 1),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TicklenValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="ticklen", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TicklenValidator, 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,15 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickmodeValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickmode", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TickmodeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
implied_edits=kwargs.pop("implied_edits", {}),
|
||||
values=kwargs.pop("values", ["auto", "linear", "array"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickprefixValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickprefix", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TickprefixValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TicksValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="ticks", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TicksValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
values=kwargs.pop("values", ["outside", "inside", ""]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TicksuffixValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="ticksuffix", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TicksuffixValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TicktextValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(
|
||||
self, plotly_name="ticktext", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TicktextValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TicktextsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="ticktextsrc",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(TicktextsrcValidator, 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 TickvalsValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickvals", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TickvalsValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickvalssrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="tickvalssrc",
|
||||
parent_name="layout.polar.angularaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(TickvalssrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickwidthValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickwidth", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TickwidthValidator, 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,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TypeValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="type", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(TypeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
values=kwargs.pop("values", ["-", "linear", "category"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class UirevisionValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(
|
||||
self, plotly_name="uirevision", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(UirevisionValidator, 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 VisibleValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="visible", parent_name="layout.polar.angularaxis", **kwargs
|
||||
):
|
||||
super(VisibleValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._size import SizeValidator
|
||||
from ._family import FamilyValidator
|
||||
from ._color import ColorValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
["._size.SizeValidator", "._family.FamilyValidator", "._color.ColorValidator"],
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="color",
|
||||
parent_name="layout.polar.angularaxis.tickfont",
|
||||
**kwargs,
|
||||
):
|
||||
super(ColorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FamilyValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="family",
|
||||
parent_name="layout.polar.angularaxis.tickfont",
|
||||
**kwargs,
|
||||
):
|
||||
super(FamilyValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
no_blank=kwargs.pop("no_blank", True),
|
||||
strict=kwargs.pop("strict", True),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SizeValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="size",
|
||||
parent_name="layout.polar.angularaxis.tickfont",
|
||||
**kwargs,
|
||||
):
|
||||
super(SizeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
min=kwargs.pop("min", 1),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,23 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._value import ValueValidator
|
||||
from ._templateitemname import TemplateitemnameValidator
|
||||
from ._name import NameValidator
|
||||
from ._enabled import EnabledValidator
|
||||
from ._dtickrange import DtickrangeValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
[
|
||||
"._value.ValueValidator",
|
||||
"._templateitemname.TemplateitemnameValidator",
|
||||
"._name.NameValidator",
|
||||
"._enabled.EnabledValidator",
|
||||
"._dtickrange.DtickrangeValidator",
|
||||
],
|
||||
)
|
@ -0,0 +1,23 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class DtickrangeValidator(_plotly_utils.basevalidators.InfoArrayValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="dtickrange",
|
||||
parent_name="layout.polar.angularaxis.tickformatstop",
|
||||
**kwargs,
|
||||
):
|
||||
super(DtickrangeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
items=kwargs.pop(
|
||||
"items",
|
||||
[
|
||||
{"editType": "plot", "valType": "any"},
|
||||
{"editType": "plot", "valType": "any"},
|
||||
],
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class EnabledValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="enabled",
|
||||
parent_name="layout.polar.angularaxis.tickformatstop",
|
||||
**kwargs,
|
||||
):
|
||||
super(EnabledValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class NameValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="name",
|
||||
parent_name="layout.polar.angularaxis.tickformatstop",
|
||||
**kwargs,
|
||||
):
|
||||
super(NameValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TemplateitemnameValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="templateitemname",
|
||||
parent_name="layout.polar.angularaxis.tickformatstop",
|
||||
**kwargs,
|
||||
):
|
||||
super(TemplateitemnameValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ValueValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="value",
|
||||
parent_name="layout.polar.angularaxis.tickformatstop",
|
||||
**kwargs,
|
||||
):
|
||||
super(ValueValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
Reference in New Issue
Block a user