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,93 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._uirevision import UirevisionValidator
|
||||
from ._title import TitleValidator
|
||||
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 ._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 ._nticks import NticksValidator
|
||||
from ._minexponent import MinexponentValidator
|
||||
from ._min import MinValidator
|
||||
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 ._color import ColorValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
[
|
||||
"._uirevision.UirevisionValidator",
|
||||
"._title.TitleValidator",
|
||||
"._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",
|
||||
"._showticksuffix.ShowticksuffixValidator",
|
||||
"._showtickprefix.ShowtickprefixValidator",
|
||||
"._showticklabels.ShowticklabelsValidator",
|
||||
"._showline.ShowlineValidator",
|
||||
"._showgrid.ShowgridValidator",
|
||||
"._showexponent.ShowexponentValidator",
|
||||
"._separatethousands.SeparatethousandsValidator",
|
||||
"._nticks.NticksValidator",
|
||||
"._minexponent.MinexponentValidator",
|
||||
"._min.MinValidator",
|
||||
"._linewidth.LinewidthValidator",
|
||||
"._linecolor.LinecolorValidator",
|
||||
"._layer.LayerValidator",
|
||||
"._hoverformat.HoverformatValidator",
|
||||
"._gridwidth.GridwidthValidator",
|
||||
"._griddash.GriddashValidator",
|
||||
"._gridcolor.GridcolorValidator",
|
||||
"._exponentformat.ExponentformatValidator",
|
||||
"._dtick.DtickValidator",
|
||||
"._color.ColorValidator",
|
||||
],
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="color", parent_name="layout.ternary.baxis", **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 DtickValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(
|
||||
self, plotly_name="dtick", parent_name="layout.ternary.baxis", **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,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ExponentformatValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="exponentformat", parent_name="layout.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **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,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class HoverformatValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="hoverformat", parent_name="layout.ternary.baxis", **kwargs
|
||||
):
|
||||
super(HoverformatValidator, 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 LayerValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="layer", parent_name="layout.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **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,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class MinValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(self, plotly_name="min", parent_name="layout.ternary.baxis", **kwargs):
|
||||
super(MinValidator, 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 MinexponentValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="minexponent", parent_name="layout.ternary.baxis", **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.ternary.baxis", **kwargs
|
||||
):
|
||||
super(NticksValidator, 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,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SeparatethousandsValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="separatethousands",
|
||||
parent_name="layout.ternary.baxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(SeparatethousandsValidator, 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 ShowexponentValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="showexponent", parent_name="layout.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **kwargs
|
||||
):
|
||||
super(ShowlineValidator, 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 ShowticklabelsValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="showticklabels", parent_name="layout.ternary.baxis", **kwargs
|
||||
):
|
||||
super(ShowticklabelsValidator, 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 ShowtickprefixValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="showtickprefix", parent_name="layout.ternary.baxis", **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,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ShowticksuffixValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="showticksuffix", parent_name="layout.ternary.baxis", **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 Tick0Validator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tick0", parent_name="layout.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis",
|
||||
**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.ternary.baxis",
|
||||
**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,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TicklabelstepValidator(_plotly_utils.basevalidators.IntegerValidator):
|
||||
def __init__(
|
||||
self, plotly_name="ticklabelstep", parent_name="layout.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **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.ternary.baxis", **kwargs
|
||||
):
|
||||
super(TicktextValidator, 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 TicktextsrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="ticktextsrc", parent_name="layout.ternary.baxis", **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.ternary.baxis", **kwargs
|
||||
):
|
||||
super(TickvalsValidator, 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 TickvalssrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickvalssrc", parent_name="layout.ternary.baxis", **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.ternary.baxis", **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,28 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TitleValidator(_plotly_utils.basevalidators.TitleValidator):
|
||||
def __init__(
|
||||
self, plotly_name="title", parent_name="layout.ternary.baxis", **kwargs
|
||||
):
|
||||
super(TitleValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Title"),
|
||||
data_docs=kwargs.pop(
|
||||
"data_docs",
|
||||
"""
|
||||
font
|
||||
Sets this axis' title font. Note that the
|
||||
title's font used to be customized by the now
|
||||
deprecated `titlefont` attribute.
|
||||
text
|
||||
Sets the title of this axis. Note that before
|
||||
the existence of `title.text`, the title's
|
||||
contents used to be defined as the `title`
|
||||
attribute itself. This behavior has been
|
||||
deprecated.
|
||||
""",
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class UirevisionValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(
|
||||
self, plotly_name="uirevision", parent_name="layout.ternary.baxis", **kwargs
|
||||
):
|
||||
super(UirevisionValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**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,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="color", parent_name="layout.ternary.baxis.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.ternary.baxis.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,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SizeValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="size", parent_name="layout.ternary.baxis.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.ternary.baxis.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.ternary.baxis.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.ternary.baxis.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.ternary.baxis.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.ternary.baxis.tickformatstop",
|
||||
**kwargs,
|
||||
):
|
||||
super(ValueValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._text import TextValidator
|
||||
from ._font import FontValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__, [], ["._text.TextValidator", "._font.FontValidator"]
|
||||
)
|
@ -0,0 +1,39 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
|
||||
def __init__(
|
||||
self, plotly_name="font", parent_name="layout.ternary.baxis.title", **kwargs
|
||||
):
|
||||
super(FontValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
data_class_str=kwargs.pop("data_class_str", "Font"),
|
||||
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 TextValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="text", parent_name="layout.ternary.baxis.title", **kwargs
|
||||
):
|
||||
super(TextValidator, 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.ternary.baxis.title.font",
|
||||
**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.ternary.baxis.title.font",
|
||||
**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.ternary.baxis.title.font",
|
||||
**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,
|
||||
)
|
Reference in New Issue
Block a user