Skip to content

Commit 5b5d8ca

Browse files
committed
Updated Schema
1 parent 79de4c9 commit 5b5d8ca

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

plotly/graph_reference/default-schema.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"requiredOpts": []
4646
},
4747
"colorscale": {
48-
"description": "A Plotly colorscale either picked by a name: (any of Greys, YIGnBu, Greens, YIOrRd, Bluered, RdBu, Reds, Blues, Picnic, Rainbow, Portland, Jet, Hot, Blackbody, Earth, Electric, Viridis ) customized as an {array} of 2-element {arrays} where the first element is the normalized color level value (starting at *0* and ending at *1*), and the second item is a valid color string.",
48+
"description": "A Plotly colorscale either picked by a name: (any of Greys, YlGnBu, Greens, YlOrRd, Bluered, RdBu, Reds, Blues, Picnic, Rainbow, Portland, Jet, Hot, Blackbody, Earth, Electric, Viridis ) customized as an {array} of 2-element {arrays} where the first element is the normalized color level value (starting at *0* and ending at *1*), and the second item is a valid color string.",
4949
"otherOpts": [
5050
"dflt"
5151
],
@@ -427,6 +427,7 @@
427427
},
428428
"dragmode": {
429429
"description": "Determines the mode of drag interactions. *select* and *lasso* apply only to scatter traces with markers or text. *orbit* and *turntable* apply only to 3D scenes.",
430+
"dflt": "zoom",
430431
"role": "info",
431432
"valType": "enumerated",
432433
"values": [
@@ -1247,6 +1248,28 @@
12471248
"valType": "info_array"
12481249
}
12491250
},
1251+
"dragmode": {
1252+
"description": "Determines the mode of drag interactions for this scene.",
1253+
"dflt": "turntable",
1254+
"role": "info",
1255+
"valType": "enumerated",
1256+
"values": [
1257+
"orbit",
1258+
"turntable",
1259+
"zoom",
1260+
"pan"
1261+
]
1262+
},
1263+
"hovermode": {
1264+
"description": "Determines the mode of hover interactions for this scene.",
1265+
"dflt": "closest",
1266+
"role": "info",
1267+
"valType": "enumerated",
1268+
"values": [
1269+
"closest",
1270+
false
1271+
]
1272+
},
12501273
"role": "object",
12511274
"xaxis": {
12521275
"autorange": {

0 commit comments

Comments
 (0)