mirror of
https://github.com/aykhans/AzSuicideDataVisualization.git
synced 2025-07-02 06:22:25 +00:00
first commit
This commit is contained in:
@ -0,0 +1,125 @@
|
||||
import sys
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if sys.version_info < (3, 7) or TYPE_CHECKING:
|
||||
from ._zerolinewidth import ZerolinewidthValidator
|
||||
from ._zerolinecolor import ZerolinecolorValidator
|
||||
from ._zeroline import ZerolineValidator
|
||||
from ._visible import VisibleValidator
|
||||
from ._type import TypeValidator
|
||||
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 ._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 ._spikethickness import SpikethicknessValidator
|
||||
from ._spikesides import SpikesidesValidator
|
||||
from ._spikecolor import SpikecolorValidator
|
||||
from ._showticksuffix import ShowticksuffixValidator
|
||||
from ._showtickprefix import ShowtickprefixValidator
|
||||
from ._showticklabels import ShowticklabelsValidator
|
||||
from ._showspikes import ShowspikesValidator
|
||||
from ._showline import ShowlineValidator
|
||||
from ._showgrid import ShowgridValidator
|
||||
from ._showexponent import ShowexponentValidator
|
||||
from ._showbackground import ShowbackgroundValidator
|
||||
from ._showaxeslabels import ShowaxeslabelsValidator
|
||||
from ._separatethousands import SeparatethousandsValidator
|
||||
from ._rangemode import RangemodeValidator
|
||||
from ._range import RangeValidator
|
||||
from ._nticks import NticksValidator
|
||||
from ._mirror import MirrorValidator
|
||||
from ._minexponent import MinexponentValidator
|
||||
from ._linewidth import LinewidthValidator
|
||||
from ._linecolor import LinecolorValidator
|
||||
from ._hoverformat import HoverformatValidator
|
||||
from ._gridwidth import GridwidthValidator
|
||||
from ._gridcolor import GridcolorValidator
|
||||
from ._exponentformat import ExponentformatValidator
|
||||
from ._dtick import DtickValidator
|
||||
from ._color import ColorValidator
|
||||
from ._categoryorder import CategoryorderValidator
|
||||
from ._categoryarraysrc import CategoryarraysrcValidator
|
||||
from ._categoryarray import CategoryarrayValidator
|
||||
from ._calendar import CalendarValidator
|
||||
from ._backgroundcolor import BackgroundcolorValidator
|
||||
from ._autotypenumbers import AutotypenumbersValidator
|
||||
from ._autorange import AutorangeValidator
|
||||
else:
|
||||
from _plotly_utils.importers import relative_import
|
||||
|
||||
__all__, __getattr__, __dir__ = relative_import(
|
||||
__name__,
|
||||
[],
|
||||
[
|
||||
"._zerolinewidth.ZerolinewidthValidator",
|
||||
"._zerolinecolor.ZerolinecolorValidator",
|
||||
"._zeroline.ZerolineValidator",
|
||||
"._visible.VisibleValidator",
|
||||
"._type.TypeValidator",
|
||||
"._title.TitleValidator",
|
||||
"._tickwidth.TickwidthValidator",
|
||||
"._tickvalssrc.TickvalssrcValidator",
|
||||
"._tickvals.TickvalsValidator",
|
||||
"._ticktextsrc.TicktextsrcValidator",
|
||||
"._ticktext.TicktextValidator",
|
||||
"._ticksuffix.TicksuffixValidator",
|
||||
"._ticks.TicksValidator",
|
||||
"._tickprefix.TickprefixValidator",
|
||||
"._tickmode.TickmodeValidator",
|
||||
"._ticklen.TicklenValidator",
|
||||
"._tickformatstopdefaults.TickformatstopdefaultsValidator",
|
||||
"._tickformatstops.TickformatstopsValidator",
|
||||
"._tickformat.TickformatValidator",
|
||||
"._tickfont.TickfontValidator",
|
||||
"._tickcolor.TickcolorValidator",
|
||||
"._tickangle.TickangleValidator",
|
||||
"._tick0.Tick0Validator",
|
||||
"._spikethickness.SpikethicknessValidator",
|
||||
"._spikesides.SpikesidesValidator",
|
||||
"._spikecolor.SpikecolorValidator",
|
||||
"._showticksuffix.ShowticksuffixValidator",
|
||||
"._showtickprefix.ShowtickprefixValidator",
|
||||
"._showticklabels.ShowticklabelsValidator",
|
||||
"._showspikes.ShowspikesValidator",
|
||||
"._showline.ShowlineValidator",
|
||||
"._showgrid.ShowgridValidator",
|
||||
"._showexponent.ShowexponentValidator",
|
||||
"._showbackground.ShowbackgroundValidator",
|
||||
"._showaxeslabels.ShowaxeslabelsValidator",
|
||||
"._separatethousands.SeparatethousandsValidator",
|
||||
"._rangemode.RangemodeValidator",
|
||||
"._range.RangeValidator",
|
||||
"._nticks.NticksValidator",
|
||||
"._mirror.MirrorValidator",
|
||||
"._minexponent.MinexponentValidator",
|
||||
"._linewidth.LinewidthValidator",
|
||||
"._linecolor.LinecolorValidator",
|
||||
"._hoverformat.HoverformatValidator",
|
||||
"._gridwidth.GridwidthValidator",
|
||||
"._gridcolor.GridcolorValidator",
|
||||
"._exponentformat.ExponentformatValidator",
|
||||
"._dtick.DtickValidator",
|
||||
"._color.ColorValidator",
|
||||
"._categoryorder.CategoryorderValidator",
|
||||
"._categoryarraysrc.CategoryarraysrcValidator",
|
||||
"._categoryarray.CategoryarrayValidator",
|
||||
"._calendar.CalendarValidator",
|
||||
"._backgroundcolor.BackgroundcolorValidator",
|
||||
"._autotypenumbers.AutotypenumbersValidator",
|
||||
"._autorange.AutorangeValidator",
|
||||
],
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class AutorangeValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="autorange", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(AutorangeValidator, 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", [True, False, "reversed"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class AutotypenumbersValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="autotypenumbers", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(AutotypenumbersValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
values=kwargs.pop("values", ["convert types", "strict"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class BackgroundcolorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="backgroundcolor", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(BackgroundcolorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,34 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class CalendarValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="calendar", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(CalendarValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "calc"),
|
||||
values=kwargs.pop(
|
||||
"values",
|
||||
[
|
||||
"chinese",
|
||||
"coptic",
|
||||
"discworld",
|
||||
"ethiopian",
|
||||
"gregorian",
|
||||
"hebrew",
|
||||
"islamic",
|
||||
"jalali",
|
||||
"julian",
|
||||
"mayan",
|
||||
"nanakshahi",
|
||||
"nepali",
|
||||
"persian",
|
||||
"taiwan",
|
||||
"thai",
|
||||
"ummalqura",
|
||||
],
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class CategoryarrayValidator(_plotly_utils.basevalidators.DataArrayValidator):
|
||||
def __init__(
|
||||
self, plotly_name="categoryarray", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(CategoryarrayValidator, 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 CategoryarraysrcValidator(_plotly_utils.basevalidators.SrcValidator):
|
||||
def __init__(
|
||||
self, plotly_name="categoryarraysrc", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(CategoryarraysrcValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "none"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,34 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class CategoryorderValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="categoryorder", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(CategoryorderValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
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,11 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(self, plotly_name="color", parent_name="layout.scene.zaxis", **kwargs):
|
||||
super(ColorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class DtickValidator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(self, plotly_name="dtick", parent_name="layout.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **kwargs
|
||||
):
|
||||
super(GridcolorValidator, 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 GridwidthValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="gridwidth", parent_name="layout.scene.zaxis", **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.scene.zaxis", **kwargs
|
||||
):
|
||||
super(HoverformatValidator, 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 LinecolorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="linecolor", parent_name="layout.scene.zaxis", **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.scene.zaxis", **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,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class MinexponentValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="minexponent", parent_name="layout.scene.zaxis", **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 MirrorValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="mirror", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(MirrorValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
values=kwargs.pop("values", [True, "ticks", False, "all", "allticks"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class NticksValidator(_plotly_utils.basevalidators.IntegerValidator):
|
||||
def __init__(
|
||||
self, plotly_name="nticks", parent_name="layout.scene.zaxis", **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,28 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class RangeValidator(_plotly_utils.basevalidators.InfoArrayValidator):
|
||||
def __init__(self, plotly_name="range", parent_name="layout.scene.zaxis", **kwargs):
|
||||
super(RangeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
anim=kwargs.pop("anim", False),
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
implied_edits=kwargs.pop("implied_edits", {"autorange": False}),
|
||||
items=kwargs.pop(
|
||||
"items",
|
||||
[
|
||||
{
|
||||
"editType": "plot",
|
||||
"impliedEdits": {"^autorange": False},
|
||||
"valType": "any",
|
||||
},
|
||||
{
|
||||
"editType": "plot",
|
||||
"impliedEdits": {"^autorange": False},
|
||||
"valType": "any",
|
||||
},
|
||||
],
|
||||
),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class RangemodeValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(
|
||||
self, plotly_name="rangemode", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(RangemodeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
values=kwargs.pop("values", ["normal", "tozero", "nonnegative"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SeparatethousandsValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self,
|
||||
plotly_name="separatethousands",
|
||||
parent_name="layout.scene.zaxis",
|
||||
**kwargs,
|
||||
):
|
||||
super(SeparatethousandsValidator, 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 ShowaxeslabelsValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="showaxeslabels", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(ShowaxeslabelsValidator, 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 ShowbackgroundValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="showbackground", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(ShowbackgroundValidator, 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.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **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 ShowspikesValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="showspikes", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(ShowspikesValidator, 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.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **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,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SpikecolorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="spikecolor", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(SpikecolorValidator, 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 SpikesidesValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="spikesides", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(SpikesidesValidator, 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 SpikethicknessValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="spikethickness", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(SpikethicknessValidator, 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 Tick0Validator(_plotly_utils.basevalidators.AnyValidator):
|
||||
def __init__(self, plotly_name="tick0", parent_name="layout.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis",
|
||||
**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,51 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TickformatstopsValidator(_plotly_utils.basevalidators.CompoundArrayValidator):
|
||||
def __init__(
|
||||
self, plotly_name="tickformatstops", parent_name="layout.scene.zaxis", **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 TicklenValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="ticklen", parent_name="layout.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **kwargs
|
||||
):
|
||||
super(TickprefixValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TicksValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(self, plotly_name="ticks", parent_name="layout.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **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.scene.zaxis", **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,26 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TitleValidator(_plotly_utils.basevalidators.TitleValidator):
|
||||
def __init__(self, plotly_name="title", parent_name="layout.scene.zaxis", **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,12 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class TypeValidator(_plotly_utils.basevalidators.EnumeratedValidator):
|
||||
def __init__(self, plotly_name="type", parent_name="layout.scene.zaxis", **kwargs):
|
||||
super(TypeValidator, self).__init__(
|
||||
plotly_name=plotly_name,
|
||||
parent_name=parent_name,
|
||||
edit_type=kwargs.pop("edit_type", "plot"),
|
||||
values=kwargs.pop("values", ["-", "linear", "log", "date", "category"]),
|
||||
**kwargs,
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class VisibleValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="visible", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(VisibleValidator, 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 ZerolineValidator(_plotly_utils.basevalidators.BooleanValidator):
|
||||
def __init__(
|
||||
self, plotly_name="zeroline", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(ZerolineValidator, 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 ZerolinecolorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="zerolinecolor", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(ZerolinecolorValidator, 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 ZerolinewidthValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="zerolinewidth", parent_name="layout.scene.zaxis", **kwargs
|
||||
):
|
||||
super(ZerolinewidthValidator, 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,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="color", parent_name="layout.scene.zaxis.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,15 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class FamilyValidator(_plotly_utils.basevalidators.StringValidator):
|
||||
def __init__(
|
||||
self, plotly_name="family", parent_name="layout.scene.zaxis.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.scene.zaxis.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.scene.zaxis.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.scene.zaxis.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.scene.zaxis.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.scene.zaxis.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.scene.zaxis.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.scene.zaxis.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.scene.zaxis.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,13 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class ColorValidator(_plotly_utils.basevalidators.ColorValidator):
|
||||
def __init__(
|
||||
self, plotly_name="color", parent_name="layout.scene.zaxis.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.scene.zaxis.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,14 @@
|
||||
import _plotly_utils.basevalidators
|
||||
|
||||
|
||||
class SizeValidator(_plotly_utils.basevalidators.NumberValidator):
|
||||
def __init__(
|
||||
self, plotly_name="size", parent_name="layout.scene.zaxis.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