You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plotly/graph_reference/default-schema.json
+73-20Lines changed: 73 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@
45
45
"requiredOpts": []
46
46
},
47
47
"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.",
49
49
"otherOpts": [
50
50
"dflt"
51
51
],
@@ -427,6 +427,7 @@
427
427
},
428
428
"dragmode": {
429
429
"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",
430
431
"role": "info",
431
432
"valType": "enumerated",
432
433
"values": [
@@ -1247,6 +1248,28 @@
1247
1248
"valType": "info_array"
1248
1249
}
1249
1250
},
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
+
},
1250
1273
"role": "object",
1251
1274
"xaxis": {
1252
1275
"autorange": {
@@ -14708,12 +14731,50 @@
14708
14731
},
14709
14732
"surface": {
14710
14733
"attributes": {
14734
+
"_deprecated": {
14735
+
"zauto": {
14736
+
"description": "Obsolete. Use `cauto` instead.",
14737
+
"dflt": true,
14738
+
"role": "info",
14739
+
"valType": "boolean"
14740
+
},
14741
+
"zmax": {
14742
+
"description": "Obsolete. Use `cmax` instead.",
14743
+
"dflt": null,
14744
+
"role": "info",
14745
+
"valType": "number"
14746
+
},
14747
+
"zmin": {
14748
+
"description": "Obsolete. Use `cmin` instead.",
14749
+
"dflt": null,
14750
+
"role": "info",
14751
+
"valType": "number"
14752
+
}
14753
+
},
14711
14754
"autocolorscale": {
14712
14755
"description": "Determines whether or not the colorscale is picked using the sign of the input z values.",
14713
14756
"dflt": false,
14714
14757
"role": "style",
14715
14758
"valType": "boolean"
14716
14759
},
14760
+
"cauto": {
14761
+
"description": "Determines the whether or not the color domain is computed with respect to the input data.",
14762
+
"dflt": true,
14763
+
"role": "info",
14764
+
"valType": "boolean"
14765
+
},
14766
+
"cmax": {
14767
+
"description": "Sets the upper bound of color domain.",
14768
+
"dflt": null,
14769
+
"role": "info",
14770
+
"valType": "number"
14771
+
},
14772
+
"cmin": {
14773
+
"description": "Sets the lower bound of color domain.",
14774
+
"dflt": null,
14775
+
"role": "info",
14776
+
"valType": "number"
14777
+
},
14717
14778
"colorbar": {
14718
14779
"bgcolor": {
14719
14780
"description": "Sets the color of padded area.",
@@ -15370,6 +15431,16 @@
15370
15431
"valType": "string"
15371
15432
}
15372
15433
},
15434
+
"surfacecolor": {
15435
+
"description": "Sets the surface color values, used for setting a color scale independent of `z`.",
15436
+
"role": "data",
15437
+
"valType": "data_array"
15438
+
},
15439
+
"surfacecolorsrc": {
15440
+
"description": "Sets the source reference on plot.ly for surfacecolor .",
15441
+
"role": "info",
15442
+
"valType": "string"
15443
+
},
15373
15444
"text": {
15374
15445
"description": "Sets the text elements associated with each z value.",
15375
15446
"role": "data",
@@ -15422,31 +15493,13 @@
15422
15493
"role": "data",
15423
15494
"valType": "data_array"
15424
15495
},
15425
-
"zauto": {
15426
-
"description": "Determines the whether or not the color domain is computed with respect to the input data.",
15427
-
"dflt": true,
15428
-
"role": "info",
15429
-
"valType": "boolean"
15430
-
},
15431
-
"zmax": {
15432
-
"description": "Sets the upper bound of color domain.",
15433
-
"dflt": null,
15434
-
"role": "info",
15435
-
"valType": "number"
15436
-
},
15437
-
"zmin": {
15438
-
"description": "Sets the lower bound of color domain.",
15439
-
"dflt": null,
15440
-
"role": "info",
15441
-
"valType": "number"
15442
-
},
15443
15496
"zsrc": {
15444
15497
"description": "Sets the source reference on plot.ly for z .",
15445
15498
"role": "info",
15446
15499
"valType": "string"
15447
15500
}
15448
15501
},
15449
-
"description": "The data the describes the coordinates of the surface is set in `z`. Data in `z` should be a {2D array}. Coordinates in `x` and `y` can either be 1D {arrays} or {2D arrays} (e.g. to graph parametric surfaces). If not provided in `x` and `y`, the x and y coordinates are assumed to be linear starting at 0 with a unit step."
15502
+
"description": "The data the describes the coordinates of the surface is set in `z`. Data in `z` should be a {2D array}. Coordinates in `x` and `y` can either be 1D {arrays} or {2D arrays} (e.g. to graph parametric surfaces). If not provided in `x` and `y`, the x and y coordinates are assumed to be linear starting at 0 with a unit step. The color scale corresponds to the `z` values by default. For custom color scales, use `surfacecolor` which should be a {2D array}, where its bounds can be controlled using `cmin` and `cmax`."
0 commit comments