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
+212-5Lines changed: 212 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -712,7 +712,8 @@
712
712
"mollweide",
713
713
"hammer",
714
714
"transverse mercator",
715
-
"albers usa"
715
+
"albers usa",
716
+
"winkel tripel"
716
717
]
717
718
}
718
719
},
@@ -838,6 +839,114 @@
838
839
false
839
840
]
840
841
},
842
+
"images": {
843
+
"items": {
844
+
"image": {
845
+
"layer": {
846
+
"description": "Specifies whether images are drawn below or above traces. When `xref` and `yref` are both set to `paper`, image is drawn below the entire plot area.",
847
+
"dflt": "above",
848
+
"role": "info",
849
+
"valType": "enumerated",
850
+
"values": [
851
+
"below",
852
+
"above"
853
+
]
854
+
},
855
+
"opacity": {
856
+
"description": "Sets the opacity of the image.",
857
+
"dflt": 1,
858
+
"max": 1,
859
+
"min": 0,
860
+
"role": "info",
861
+
"valType": "number"
862
+
},
863
+
"role": "object",
864
+
"sizex": {
865
+
"description": "Sets the image container size horizontally. The image will be sized based on the `position` value. When `xref` is set to `paper`, units are sized relative to the plot width.",
866
+
"dflt": 0,
867
+
"role": "info",
868
+
"valType": "number"
869
+
},
870
+
"sizey": {
871
+
"description": "Sets the image container size vertically. The image will be sized based on the `position` value. When `yref` is set to `paper`, units are sized relative to the plot height.",
872
+
"dflt": 0,
873
+
"role": "info",
874
+
"valType": "number"
875
+
},
876
+
"sizing": {
877
+
"description": "Specifies which dimension of the image to constrain.",
878
+
"dflt": "contain",
879
+
"role": "info",
880
+
"valType": "enumerated",
881
+
"values": [
882
+
"fill",
883
+
"contain",
884
+
"stretch"
885
+
]
886
+
},
887
+
"source": {
888
+
"description": "Specifies the URL of the image to be used. The URL must be accessible from the ___domain where the plot code is run, and can be either relative or absolute.",
889
+
"role": "info",
890
+
"valType": "string"
891
+
},
892
+
"x": {
893
+
"description": "Sets the image's x position. When `xref` is set to `paper`, units are sized relative to the plot height. See `xref` for more info",
894
+
"dflt": 0,
895
+
"role": "info",
896
+
"valType": "number"
897
+
},
898
+
"xanchor": {
899
+
"description": "Sets the anchor for the x position",
900
+
"dflt": "left",
901
+
"role": "info",
902
+
"valType": "enumerated",
903
+
"values": [
904
+
"left",
905
+
"center",
906
+
"right"
907
+
]
908
+
},
909
+
"xref": {
910
+
"description": "Sets the images's x coordinate axis. If set to a x axis id (e.g. *x* or *x2*), the `x` position refers to an x data coordinate If set to *paper*, the `x` position refers to the distance from the left of plot in normalized coordinates where *0* (*1*) corresponds to the left (right).",
911
+
"dflt": "paper",
912
+
"role": "info",
913
+
"valType": "enumerated",
914
+
"values": [
915
+
"paper",
916
+
"/^x([2-9]|[1-9][0-9]+)?$/"
917
+
]
918
+
},
919
+
"y": {
920
+
"description": "Sets the image's y position. When `yref` is set to `paper`, units are sized relative to the plot height. See `yref` for more info",
921
+
"dflt": 0,
922
+
"role": "info",
923
+
"valType": "number"
924
+
},
925
+
"yanchor": {
926
+
"description": "Sets the anchor for the y position.",
927
+
"dflt": "top",
928
+
"role": "info",
929
+
"valType": "enumerated",
930
+
"values": [
931
+
"top",
932
+
"middle",
933
+
"bottom"
934
+
]
935
+
},
936
+
"yref": {
937
+
"description": "Sets the images's y coordinate axis. If set to a y axis id (e.g. *y* or *y2*), the `y` position refers to a y data coordinate. If set to *paper*, the `y` position refers to the distance from the bottom of the plot in normalized coordinates where *0* (*1*) corresponds to the bottom (top).",
938
+
"dflt": "paper",
939
+
"role": "info",
940
+
"valType": "enumerated",
941
+
"values": [
942
+
"paper",
943
+
"/^y([2-9]|[1-9][0-9]+)?$/"
944
+
]
945
+
}
946
+
}
947
+
},
948
+
"role": "object"
949
+
},
841
950
"legend": {
842
951
"bgcolor": {
843
952
"description": "Sets the legend background color.",
@@ -877,6 +986,16 @@
877
986
"valType": "number"
878
987
}
879
988
},
989
+
"orientation": {
990
+
"description": "Sets the orientation of the legend.",
991
+
"dflt": "v",
992
+
"role": "info",
993
+
"valType": "enumerated",
994
+
"values": [
995
+
"v",
996
+
"h"
997
+
]
998
+
},
880
999
"role": "object",
881
1000
"tracegroupgap": {
882
1001
"description": "Sets the amount of vertical space (in px) between legend groups.",
@@ -6018,14 +6137,15 @@
6018
6137
"valType": "number"
6019
6138
},
6020
6139
"barmode": {
6021
-
"description": "Determines how bars at the same ___location coordinate are displayed on the graph. With *stack*, the bars are stacked on top of one another With *group*, the bars are plotted next to one another centered around the shared ___location. With *overlay*, the bars are plotted over one another, you might need to an *opacity* to see multiple bars.",
6140
+
"description": "Determines how bars at the same ___location coordinate are displayed on the graph. With *stack*, the bars are stacked on top of one another With *relative*, the bars are stacked on top of one another, with negative values below the axis, positive values above With *group*, the bars are plotted next to one another centered around the shared ___location. With *overlay*, the bars are plotted over one another, you might need to an *opacity* to see multiple bars.",
6022
6141
"dflt": "group",
6023
6142
"role": "info",
6024
6143
"valType": "enumerated",
6025
6144
"values": [
6026
6145
"stack",
6027
6146
"group",
6028
-
"overlay"
6147
+
"overlay",
6148
+
"relative"
6029
6149
]
6030
6150
},
6031
6151
"barnorm": {
@@ -9298,14 +9418,15 @@
9298
9418
"valType": "number"
9299
9419
},
9300
9420
"barmode": {
9301
-
"description": "Determines how bars at the same ___location coordinate are displayed on the graph. With *stack*, the bars are stacked on top of one another With *group*, the bars are plotted next to one another centered around the shared ___location. With *overlay*, the bars are plotted over one another, you might need to an *opacity* to see multiple bars.",
9421
+
"description": "Determines how bars at the same ___location coordinate are displayed on the graph. With *stack*, the bars are stacked on top of one another With *relative*, the bars are stacked on top of one another, with negative values below the axis, positive values above With *group*, the bars are plotted next to one another centered around the shared ___location. With *overlay*, the bars are plotted over one another, you might need to an *opacity* to see multiple bars.",
9302
9422
"dflt": "group",
9303
9423
"role": "info",
9304
9424
"valType": "enumerated",
9305
9425
"values": [
9306
9426
"stack",
9307
9427
"group",
9308
-
"overlay"
9428
+
"overlay",
9429
+
"relative"
9309
9430
]
9310
9431
},
9311
9432
"barnorm": {
@@ -11109,20 +11230,31 @@
11109
11230
},
11110
11231
"lighting": {
11111
11232
"ambient": {
11233
+
"description": "Ambient light increases overall color visibility but can wash out the image.",
11112
11234
"dflt": 0.8,
11113
11235
"max": 1,
11114
11236
"min": 0,
11115
11237
"role": "style",
11116
11238
"valType": "number"
11117
11239
},
11118
11240
"diffuse": {
11241
+
"description": "Represents the extent that incident rays are reflected in a range of angles.",
11119
11242
"dflt": 0.8,
11120
11243
"max": 1,
11121
11244
"min": 0,
11122
11245
"role": "style",
11123
11246
"valType": "number"
11124
11247
},
11248
+
"facenormalsepsilon": {
11249
+
"description": "Epsilon for face normals calculation avoids math issues arising from degenerate geometry.",
11250
+
"dflt": 1e-06,
11251
+
"max": 1,
11252
+
"min": 0,
11253
+
"role": "style",
11254
+
"valType": "number"
11255
+
},
11125
11256
"fresnel": {
11257
+
"description": "Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine.",
11126
11258
"dflt": 0.2,
11127
11259
"max": 5,
11128
11260
"min": 0,
@@ -11131,18 +11263,55 @@
11131
11263
},
11132
11264
"role": "object",
11133
11265
"roughness": {
11266
+
"description": "Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.",
11134
11267
"dflt": 0.5,
11135
11268
"max": 1,
11136
11269
"min": 0,
11137
11270
"role": "style",
11138
11271
"valType": "number"
11139
11272
},
11140
11273
"specular": {
11274
+
"description": "Represents the level that incident rays are reflected in a single direction, causing shine.",
11141
11275
"dflt": 0.05,
11142
11276
"max": 2,
11143
11277
"min": 0,
11144
11278
"role": "style",
11145
11279
"valType": "number"
11280
+
},
11281
+
"vertexnormalsepsilon": {
11282
+
"description": "Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry.",
11283
+
"dflt": 1e-12,
11284
+
"max": 1,
11285
+
"min": 0,
11286
+
"role": "style",
11287
+
"valType": "number"
11288
+
}
11289
+
},
11290
+
"lightposition": {
11291
+
"role": "object",
11292
+
"x": {
11293
+
"description": "Numeric vector, representing the X coordinate for each vertex.",
11294
+
"dflt": 100000,
11295
+
"max": 100000,
11296
+
"min": -100000,
11297
+
"role": "style",
11298
+
"valType": "number"
11299
+
},
11300
+
"y": {
11301
+
"description": "Numeric vector, representing the Y coordinate for each vertex.",
11302
+
"dflt": 100000,
11303
+
"max": 100000,
11304
+
"min": -100000,
11305
+
"role": "style",
11306
+
"valType": "number"
11307
+
},
11308
+
"z": {
11309
+
"description": "Numeric vector, representing the Z coordinate for each vertex.",
11310
+
"dflt": 0,
11311
+
"max": 100000,
11312
+
"min": -100000,
11313
+
"role": "style",
11314
+
"valType": "number"
11146
11315
}
11147
11316
},
11148
11317
"name": {
@@ -15156,6 +15325,12 @@
15156
15325
},
15157
15326
"scattergl": {
15158
15327
"attributes": {
15328
+
"connectgaps": {
15329
+
"description": "Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.",
15330
+
"dflt": false,
15331
+
"role": "info",
15332
+
"valType": "boolean"
15333
+
},
15159
15334
"dx": {
15160
15335
"description": "Sets the x coordinate step. See `x0` for more info.",
15161
15336
"dflt": 1,
@@ -17810,20 +17985,23 @@
17810
17985
},
17811
17986
"lighting": {
17812
17987
"ambient": {
17988
+
"description": "Ambient light increases overall color visibility but can wash out the image.",
17813
17989
"dflt": 0.8,
17814
17990
"max": 1,
17815
17991
"min": 0,
17816
17992
"role": "style",
17817
17993
"valType": "number"
17818
17994
},
17819
17995
"diffuse": {
17996
+
"description": "Represents the extent that incident rays are reflected in a range of angles.",
17820
17997
"dflt": 0.8,
17821
17998
"max": 1,
17822
17999
"min": 0,
17823
18000
"role": "style",
17824
18001
"valType": "number"
17825
18002
},
17826
18003
"fresnel": {
18004
+
"description": "Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine.",
17827
18005
"dflt": 0.2,
17828
18006
"max": 5,
17829
18007
"min": 0,
@@ -17832,20 +18010,49 @@
17832
18010
},
17833
18011
"role": "object",
17834
18012
"roughness": {
18013
+
"description": "Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.",
17835
18014
"dflt": 0.5,
17836
18015
"max": 1,
17837
18016
"min": 0,
17838
18017
"role": "style",
17839
18018
"valType": "number"
17840
18019
},
17841
18020
"specular": {
18021
+
"description": "Represents the level that incident rays are reflected in a single direction, causing shine.",
17842
18022
"dflt": 0.05,
17843
18023
"max": 2,
17844
18024
"min": 0,
17845
18025
"role": "style",
17846
18026
"valType": "number"
17847
18027
}
17848
18028
},
18029
+
"lightposition": {
18030
+
"role": "object",
18031
+
"x": {
18032
+
"description": "Numeric vector, representing the X coordinate for each vertex.",
18033
+
"dflt": 10,
18034
+
"max": 100000,
18035
+
"min": -100000,
18036
+
"role": "style",
18037
+
"valType": "number"
18038
+
},
18039
+
"y": {
18040
+
"description": "Numeric vector, representing the Y coordinate for each vertex.",
18041
+
"dflt": 100000,
18042
+
"max": 100000,
18043
+
"min": -100000,
18044
+
"role": "style",
18045
+
"valType": "number"
18046
+
},
18047
+
"z": {
18048
+
"description": "Numeric vector, representing the Z coordinate for each vertex.",
18049
+
"dflt": 0,
18050
+
"max": 100000,
18051
+
"min": -100000,
18052
+
"role": "style",
18053
+
"valType": "number"
18054
+
}
18055
+
},
17849
18056
"name": {
17850
18057
"description": "Sets the trace name. The trace name appear as the legend item and on hover.",
0 commit comments