forked from plotly/plotly.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_data.py
More file actions
48 lines (44 loc) · 1.72 KB
/
_data.py
File metadata and controls
48 lines (44 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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={
'area': 'Area',
'bar': 'Bar',
'box': 'Box',
'candlestick': 'Candlestick',
'carpet': 'Carpet',
'choropleth': 'Choropleth',
'cone': 'Cone',
'contour': 'Contour',
'contourcarpet': 'Contourcarpet',
'heatmap': 'Heatmap',
'heatmapgl': 'Heatmapgl',
'histogram': 'Histogram',
'histogram2d': 'Histogram2d',
'histogram2dcontour': 'Histogram2dContour',
'mesh3d': 'Mesh3d',
'ohlc': 'Ohlc',
'parcoords': 'Parcoords',
'pie': 'Pie',
'pointcloud': 'Pointcloud',
'sankey': 'Sankey',
'scatter': 'Scatter',
'scatter3d': 'Scatter3d',
'scattercarpet': 'Scattercarpet',
'scattergeo': 'Scattergeo',
'scattergl': 'Scattergl',
'scattermapbox': 'Scattermapbox',
'scatterpolar': 'Scatterpolar',
'scatterpolargl': 'Scatterpolargl',
'scatterternary': 'Scatterternary',
'splom': 'Splom',
'streamtube': 'Streamtube',
'surface': 'Surface',
'table': 'Table',
'violin': 'Violin',
},
plotly_name=plotly_name,
parent_name=parent_name,
**kwargs
)