62 lines
2.3 KiB
Python
62 lines
2.3 KiB
Python
import _plotly_utils.basevalidators
|
|
|
|
|
|
class DataValidator(_plotly_utils.basevalidators.BaseDataValidator):
|
|
def __init__(self, plotly_name="data", parent_name="", **kwargs):
|
|
|
|
super(DataValidator, self).__init__(
|
|
class_strs_map={
|
|
"bar": "Bar",
|
|
"barpolar": "Barpolar",
|
|
"box": "Box",
|
|
"candlestick": "Candlestick",
|
|
"carpet": "Carpet",
|
|
"choropleth": "Choropleth",
|
|
"choroplethmapbox": "Choroplethmapbox",
|
|
"cone": "Cone",
|
|
"contour": "Contour",
|
|
"contourcarpet": "Contourcarpet",
|
|
"densitymapbox": "Densitymapbox",
|
|
"funnel": "Funnel",
|
|
"funnelarea": "Funnelarea",
|
|
"heatmap": "Heatmap",
|
|
"heatmapgl": "Heatmapgl",
|
|
"histogram": "Histogram",
|
|
"histogram2d": "Histogram2d",
|
|
"histogram2dcontour": "Histogram2dContour",
|
|
"icicle": "Icicle",
|
|
"image": "Image",
|
|
"indicator": "Indicator",
|
|
"isosurface": "Isosurface",
|
|
"mesh3d": "Mesh3d",
|
|
"ohlc": "Ohlc",
|
|
"parcats": "Parcats",
|
|
"parcoords": "Parcoords",
|
|
"pie": "Pie",
|
|
"pointcloud": "Pointcloud",
|
|
"sankey": "Sankey",
|
|
"scatter": "Scatter",
|
|
"scatter3d": "Scatter3d",
|
|
"scattercarpet": "Scattercarpet",
|
|
"scattergeo": "Scattergeo",
|
|
"scattergl": "Scattergl",
|
|
"scattermapbox": "Scattermapbox",
|
|
"scatterpolar": "Scatterpolar",
|
|
"scatterpolargl": "Scatterpolargl",
|
|
"scattersmith": "Scattersmith",
|
|
"scatterternary": "Scatterternary",
|
|
"splom": "Splom",
|
|
"streamtube": "Streamtube",
|
|
"sunburst": "Sunburst",
|
|
"surface": "Surface",
|
|
"table": "Table",
|
|
"treemap": "Treemap",
|
|
"violin": "Violin",
|
|
"volume": "Volume",
|
|
"waterfall": "Waterfall",
|
|
},
|
|
plotly_name=plotly_name,
|
|
parent_name=parent_name,
|
|
**kwargs,
|
|
)
|