Skip to content

Commit 9bb41f2

Browse files
committed
rm python-specific objs, base trace obj to PlotlyTrace
1 parent 8a36ccd commit 9bb41f2

File tree

5 files changed

+22
-222
lines changed

5 files changed

+22
-222
lines changed

Diff for: plotly/graph_reference/KEY_TO_NAME.json

-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"stream": "Stream",
3-
"plotlydict": "PlotlyDict",
43
"radialaxis": "RadialAxis",
5-
"plotlylist": "PlotlyList",
64
"titlefont": "Font",
75
"marker": "Marker",
86
"font": "Font",
@@ -19,10 +17,8 @@
1917
"annotations": "Annotations",
2018
"tickfont": "Font",
2119
"textfont": "Font",
22-
"trace": "Trace",
2320
"histogram2d": "Histogram2d",
2421
"xbins": "XBins",
25-
"plotlytrace": "PlotlyTrace",
2622
"layout": "Layout",
2723
"line": "Line",
2824
"histogram": "Histogram",

Diff for: plotly/graph_reference/NAME_TO_KEY.json

-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
{
22
"Layout": "layout",
33
"Area": "area",
4-
"PlotlyDict": "plotlydict",
54
"RadialAxis": "radialaxis",
6-
"PlotlyList": "plotlylist",
75
"Heatmap": "heatmap",
86
"Contours": "contours",
97
"XBins": "xbins",
108
"Histogram": "histogram",
119
"Annotations": "annotations",
1210
"YBins": "ybins",
13-
"Trace": "trace",
1411
"YAxis": "yaxis",
1512
"ErrorX": "error_x",
1613
"ErrorY": "error_y",
@@ -21,7 +18,6 @@
2118
"Legend": "legend",
2219
"Box": "box",
2320
"Bar": "bar",
24-
"PlotlyTrace": "plotlytrace",
2521
"AngularAxis": "angularaxis",
2622
"Margin": "margin",
2723
"Scatter": "scatter",

Diff for: plotly/graph_reference/OBJ_MAP.json

+9-25
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,15 @@
55
},
66
"Area": {
77
"info_key": "area",
8-
"base_name": "PlotlyDict"
9-
},
10-
"PlotlyDict": {
11-
"info_key": "plotlydict",
12-
"base_name": "PlotlyDict"
8+
"base_name": "PlotlyTrace"
139
},
1410
"RadialAxis": {
1511
"info_key": "radialaxis",
1612
"base_name": "PlotlyDict"
1713
},
18-
"PlotlyList": {
19-
"info_key": "plotlylist",
20-
"base_name": "PlotlyList"
21-
},
2214
"Heatmap": {
2315
"info_key": "heatmap",
24-
"base_name": "PlotlyDict"
16+
"base_name": "PlotlyTrace"
2517
},
2618
"Contours": {
2719
"info_key": "contours",
@@ -33,7 +25,7 @@
3325
},
3426
"Histogram": {
3527
"info_key": "histogram",
36-
"base_name": "PlotlyDict"
28+
"base_name": "PlotlyTrace"
3729
},
3830
"Annotations": {
3931
"info_key": "annotations",
@@ -43,10 +35,6 @@
4335
"info_key": "ybins",
4436
"base_name": "PlotlyDict"
4537
},
46-
"Trace": {
47-
"info_key": "trace",
48-
"base_name": "PlotlyDict"
49-
},
5038
"YAxis": {
5139
"info_key": "yaxis",
5240
"base_name": "PlotlyDict"
@@ -61,7 +49,7 @@
6149
},
6250
"Histogram2d": {
6351
"info_key": "histogram2d",
64-
"base_name": "PlotlyDict"
52+
"base_name": "PlotlyTrace"
6553
},
6654
"ColorBar": {
6755
"info_key": "colorbar",
@@ -81,15 +69,11 @@
8169
},
8270
"Box": {
8371
"info_key": "box",
84-
"base_name": "PlotlyDict"
72+
"base_name": "PlotlyTrace"
8573
},
8674
"Bar": {
8775
"info_key": "bar",
88-
"base_name": "PlotlyDict"
89-
},
90-
"PlotlyTrace": {
91-
"info_key": "plotlytrace",
92-
"base_name": "PlotlyList"
76+
"base_name": "PlotlyTrace"
9377
},
9478
"AngularAxis": {
9579
"info_key": "angularaxis",
@@ -101,7 +85,7 @@
10185
},
10286
"Scatter": {
10387
"info_key": "scatter",
104-
"base_name": "PlotlyDict"
88+
"base_name": "PlotlyTrace"
10589
},
10690
"Figure": {
10791
"info_key": "figure",
@@ -129,10 +113,10 @@
129113
},
130114
"Histogram2dContour": {
131115
"info_key": "histogram2dcontour",
132-
"base_name": "PlotlyDict"
116+
"base_name": "PlotlyTrace"
133117
},
134118
"Contour": {
135119
"info_key": "contour",
136-
"base_name": "PlotlyDict"
120+
"base_name": "PlotlyTrace"
137121
}
138122
}

Diff for: plotly/graph_reference/PARENT_TREE.json

+8-20
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,18 @@
1212
"Area"
1313
]
1414
},
15-
"plotlydict": {},
1615
"radialaxis": {
1716
"radialaxis": [
1817
"Layout"
1918
]
2019
},
21-
"plotlylist": {},
2220
"marker": {
2321
"marker": [
2422
"Scatter",
2523
"Bar",
2624
"Histogram",
2725
"Box",
28-
"Area",
29-
"Trace"
26+
"Area"
3027
]
3128
},
3229
"font": {
@@ -36,8 +33,7 @@
3633
"YAxis"
3734
],
3835
"textfont": [
39-
"Scatter",
40-
"Trace"
36+
"Scatter"
4137
],
4238
"font": [
4339
"Layout",
@@ -60,16 +56,14 @@
6056
"error_x": [
6157
"Scatter",
6258
"Bar",
63-
"Histogram",
64-
"Trace"
59+
"Histogram"
6560
]
6661
},
6762
"error_y": {
6863
"error_y": [
6964
"Scatter",
7065
"Bar",
71-
"Histogram",
72-
"Trace"
66+
"Histogram"
7367
]
7468
},
7569
"area": {},
@@ -93,17 +87,14 @@
9387
"Layout"
9488
]
9589
},
96-
"trace": {},
9790
"histogram2d": {},
9891
"xbins": {
9992
"xbins": [
10093
"Histogram",
10194
"Histogram2d",
102-
"Histogram2dContour",
103-
"Trace"
95+
"Histogram2dContour"
10496
]
10597
},
106-
"plotlytrace": {},
10798
"layout": {
10899
"layout": [
109100
"Figure"
@@ -115,8 +106,7 @@
115106
"Box",
116107
"Contour",
117108
"Histogram2dContour",
118-
"Marker",
119-
"Trace"
109+
"Marker"
120110
]
121111
},
122112
"histogram": {},
@@ -134,8 +124,7 @@
134124
"ybins": [
135125
"Histogram",
136126
"Histogram2d",
137-
"Histogram2dContour",
138-
"Trace"
127+
"Histogram2dContour"
139128
]
140129
},
141130
"box": {},
@@ -155,8 +144,7 @@
155144
"Heatmap",
156145
"Contour",
157146
"Histogram2d",
158-
"Histogram2dContour",
159-
"Trace"
147+
"Histogram2dContour"
160148
]
161149
},
162150
"histogram2dcontour": {},

0 commit comments

Comments
 (0)