2022-05-23 00:16:32 +04:00

26 lines
918 B
Python

import _plotly_utils.basevalidators
class SlicesValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="slices", parent_name="volume", **kwargs):
super(SlicesValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
data_class_str=kwargs.pop("data_class_str", "Slices"),
data_docs=kwargs.pop(
"data_docs",
"""
x
:class:`plotly.graph_objects.volume.slices.X`
instance or dict with compatible properties
y
:class:`plotly.graph_objects.volume.slices.Y`
instance or dict with compatible properties
z
:class:`plotly.graph_objects.volume.slices.Z`
instance or dict with compatible properties
""",
),
**kwargs,
)