Skip to content

Commit 7310ea9

Browse files
committed
sync graph reference
1 parent e175eeb commit 7310ea9

File tree

2 files changed

+41
-17
lines changed

2 files changed

+41
-17
lines changed

plotly/graph_reference/graph_objs_meta.json

Lines changed: 40 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
"key_type": "plot_info",
222222
"val_types": "'v' | 'h'",
223223
"required": false,
224-
"description": "Sets the direction of the bars. If set to 'v', the length of each bar will run vertically. If set to 'h', the length of each bar will run horizontally"
224+
"description": "Sets the orientation of the bars. If set to 'v', the length of each bar will run vertically. If set to 'h', the length of each bar will run horizontally"
225225
},
226226
"text": {
227227
"key_type": "data",
@@ -352,16 +352,28 @@
352352
},
353353
"histnorm": {
354354
"key_type": "style",
355-
"val_types": "'' (or 'count') | 'percent' | 'probability' | 'density' | 'probability density'",
355+
"val_types": "'' | 'percent' | 'probability' | 'density' | 'probability density'",
356356
"required": false,
357-
"description": "Sets the type of normalization for this histogram trace. If 'histnorm' is not specified, or set to '' (empty string) or set to 'count', the height of each bar displays the frequency of occurrence, i.e., the number of times this value was found in the corresponding bin. If set to 'percent', the height of each bar displays the percentage of total occurrences found within the corresponding bin. If set to 'probability', the height of each bar displays the probability that an event will fall into the corresponding bin. If set to 'density', the height of each bar is equal to the number of occurrences in a bin divided by the size of the bin interval such that summing the area of all bins will yield the total number of occurrences. If set to 'probability density', the height of each bar is equal to the number of probability that an event will fall into the corresponding bin divided by the size of the bin interval such that summing the area of all bins will yield 1."
357+
"description": "Sets the type of normalization for this histogram trace. By default ('histnorm' set to '') the height of each bar displays the frequency of occurrence, i.e., the number of times this value was found in the corresponding bin. If set to 'percent', the height of each bar displays the percentage of total occurrences found within the corresponding bin. If set to 'probability', the height of each bar displays the probability that an event will fall into the corresponding bin. If set to 'density', the height of each bar is equal to the number of occurrences in a bin divided by the size of the bin interval such that summing the area of all bins will yield the total number of occurrences. If set to 'probability density', the height of each bar is equal to the number of probability that an event will fall into the corresponding bin divided by the size of the bin interval such that summing the area of all bins will yield 1."
358+
},
359+
"histfunc": {
360+
"key_type": "style",
361+
"val_types": "'count' | 'sum' | 'avg' | 'min' | 'max'",
362+
"required": false,
363+
"description": "Sets the binning function used for this histogram trace. The default value is 'count' where the histogram values are computed by counting the number of values lying inside each bin. With 'histfunc' set to 'sum', 'avg', 'min' or 'max', the histogram values are computed using the sum, the average, the minimum or the 'maximum' of the values lying inside each bin respectively."
358364
},
359365
"name": {
360366
"key_type": "data",
361367
"val_types": "a string",
362368
"required": false,
363369
"description": "The label associated with this trace. This name will appear in the legend, on hover and in the column header in the online spreadsheet."
364370
},
371+
"orientation": {
372+
"key_type": "plot_info",
373+
"val_types": "'v' | 'h'",
374+
"required": false,
375+
"description": "Sets the orientation of the bars. If set to 'v', the length of each bar will run vertically. If set to 'h', the length of each bar will run horizontally"
376+
},
365377
"autobinx": {
366378
"key_type": "style",
367379
"val_types": "a boolean: True | False",
@@ -1034,9 +1046,15 @@
10341046
},
10351047
"histnorm": {
10361048
"key_type": "style",
1037-
"val_types": "'' (or 'count') | 'percent' | 'probability' | 'density' | 'probability density'",
1049+
"val_types": "'' | 'percent' | 'probability' | 'density' | 'probability density'",
1050+
"required": false,
1051+
"description": "Sets the type of normalization for this histogram trace. By default ('histnorm' set to '') the height of each bar displays the frequency of occurrence, i.e., the number of times this value was found in the corresponding bin. If set to 'percent', the height of each bar displays the percentage of total occurrences found within the corresponding bin. If set to 'probability', the height of each bar displays the probability that an event will fall into the corresponding bin. If set to 'density', the height of each bar is equal to the number of occurrences in a bin divided by the size of the bin interval such that summing the area of all bins will yield the total number of occurrences. If set to 'probability density', the height of each bar is equal to the number of probability that an event will fall into the corresponding bin divided by the size of the bin interval such that summing the area of all bins will yield 1."
1052+
},
1053+
"histfunc": {
1054+
"key_type": "style",
1055+
"val_types": "'count' | 'sum' | 'avg' | 'min' | 'max'",
10381056
"required": false,
1039-
"description": "Sets the type of normalization for this histogram trace. If 'histnorm' is not specified, or set to '' (empty string) or set to 'count', the height of each bar displays the frequency of occurrence, i.e., the number of times this value was found in the corresponding bin. If set to 'percent', the height of each bar displays the percentage of total occurrences found within the corresponding bin. If set to 'probability', the height of each bar displays the probability that an event will fall into the corresponding bin. If set to 'density', the height of each bar is equal to the number of occurrences in a bin divided by the size of the bin interval such that summing the area of all bins will yield the total number of occurrences. If set to 'probability density', the height of each bar is equal to the number of probability that an event will fall into the corresponding bin divided by the size of the bin interval such that summing the area of all bins will yield 1."
1057+
"description": "Sets the binning function used for this histogram trace. The default value is 'count' where the histogram values are computed by counting the number of values lying inside each bin. With 'histfunc' set to 'sum', 'avg', 'min' or 'max', the histogram values are computed using the sum, the average, the minimum or the 'maximum' of the values lying inside each bin respectively."
10401058
},
10411059
"name": {
10421060
"key_type": "data",
@@ -1221,9 +1239,15 @@
12211239
},
12221240
"histnorm": {
12231241
"key_type": "style",
1224-
"val_types": "'' (or 'count') | 'percent' | 'probability' | 'density' | 'probability density'",
1242+
"val_types": "'' | 'percent' | 'probability' | 'density' | 'probability density'",
12251243
"required": false,
1226-
"description": "Sets the type of normalization for this histogram trace. If 'histnorm' is not specified, or set to '' (empty string) or set to 'count', the height of each bar displays the frequency of occurrence, i.e., the number of times this value was found in the corresponding bin. If set to 'percent', the height of each bar displays the percentage of total occurrences found within the corresponding bin. If set to 'probability', the height of each bar displays the probability that an event will fall into the corresponding bin. If set to 'density', the height of each bar is equal to the number of occurrences in a bin divided by the size of the bin interval such that summing the area of all bins will yield the total number of occurrences. If set to 'probability density', the height of each bar is equal to the number of probability that an event will fall into the corresponding bin divided by the size of the bin interval such that summing the area of all bins will yield 1."
1244+
"description": "Sets the type of normalization for this histogram trace. By default ('histnorm' set to '') the height of each bar displays the frequency of occurrence, i.e., the number of times this value was found in the corresponding bin. If set to 'percent', the height of each bar displays the percentage of total occurrences found within the corresponding bin. If set to 'probability', the height of each bar displays the probability that an event will fall into the corresponding bin. If set to 'density', the height of each bar is equal to the number of occurrences in a bin divided by the size of the bin interval such that summing the area of all bins will yield the total number of occurrences. If set to 'probability density', the height of each bar is equal to the number of probability that an event will fall into the corresponding bin divided by the size of the bin interval such that summing the area of all bins will yield 1."
1245+
},
1246+
"histfunc": {
1247+
"key_type": "style",
1248+
"val_types": "'count' | 'sum' | 'avg' | 'min' | 'max'",
1249+
"required": false,
1250+
"description": "Sets the binning function used for this histogram trace. The default value is 'count' where the histogram values are computed by counting the number of values lying inside each bin. With 'histfunc' set to 'sum', 'avg', 'min' or 'max', the histogram values are computed using the sum, the average, the minimum or the 'maximum' of the values lying inside each bin respectively."
12271251
},
12281252
"name": {
12291253
"key_type": "data",
@@ -1481,21 +1505,21 @@
14811505
"keymeta": {
14821506
"x": {
14831507
"key_type": "data",
1484-
"val_types": "list or 1d numpy array of numbers, strings, datetimes",
1508+
"val_types": "list or 1d numpy array of numbers, strings, datetimes or list of lists or 2d numpy array of numbers",
14851509
"required": true,
14861510
"description": "Sets the x coordinates of the points of this 3D scatter trace. If 'x' is linked to a list or 1d numpy array of strings, then the x coordinates are integers, 0, 1, 2, 3, ..., labeled on the x-axis by the list or 1d numpy array of strings linked to 'x'.",
14871511
"streamable": true
14881512
},
14891513
"y": {
14901514
"key_type": "data",
1491-
"val_types": "list or 1d numpy array of numbers, strings, datetimes",
1515+
"val_types": "list or 1d numpy array of numbers, strings, datetimes or list of lists or 2d numpy array of numbers",
14921516
"required": true,
14931517
"description": "Sets the y coordinates of the points of this 3D scatter trace. If 'y' is linked to a list or 1d numpy array of strings, then the y coordinates are integers, 0, 1, 2, 3, ..., labeled on the y-axis by the list or 1d numpy array of strings linked to 'y'.",
14941518
"streamable": true
14951519
},
14961520
"z": {
14971521
"key_type": "data",
1498-
"val_types": "list or 1d numpy array of numbers, strings, datetimes",
1522+
"val_types": "list or 1d numpy array of numbers, strings, datetimes or list of lists or 2d numpy array of numbers",
14991523
"required": true,
15001524
"description": "Sets the z coordinates of the points of this scatter trace. If 'z' is linked to a list or 1d numpy array of strings, then the z coordinates are integers, 0, 1, 2, 3, ..., labeled on the z-axis by the list or 1d numpy array of strings linked to 'z'.",
15011525
"streamable": true
@@ -1603,14 +1627,14 @@
16031627
},
16041628
"x": {
16051629
"key_type": "data",
1606-
"val_types": "list or 1d numpy array of numbers, strings, datetimes",
1630+
"val_types": "list or 1d numpy array of numbers, strings, datetimes or list of lists or 2d numpy array of numbers",
16071631
"required": false,
16081632
"description": "Sets the horizontal coordinates referring to the columns of the list of lists or 2d numpy array linked to 'z'. If the 'z' is a list or 1d numpy array of strings, then the x-labels are spaced evenly. If the dimensions of the list of lists or 2d numpy array linked to 'z' are (n x m), the length of the 'x' array should equal m.",
16091633
"streamable": true
16101634
},
16111635
"y": {
16121636
"key_type": "data",
1613-
"val_types": "list or 1d numpy array of numbers, strings, datetimes",
1637+
"val_types": "list or 1d numpy array of numbers, strings, datetimes or list of lists or 2d numpy array of numbers",
16141638
"required": false,
16151639
"description": "Sets the vertical coordinates referring to the rows of the list of lists or 2d numpy array linked to 'z'. If strings, the y-labels are spaced evenly. If the dimensions of the list of lists or 2d numpy array linked to 'z' are (n x m), the length of the 'y' array should equal n.",
16161640
"streamable": true
@@ -1695,7 +1719,7 @@
16951719
},
16961720
"arrayminus": {
16971721
"key_type": "data",
1698-
"val_types": "number: x >= 0",
1722+
"val_types": "list or 1d numpy array of numbers, strings, datetimes",
16991723
"required": false,
17001724
"description": "Has an effect only when 'symmetric' is set to False. Same as 'array' but corresponding to the span of the error bars below the trace coordinates"
17011725
},
@@ -1784,7 +1808,7 @@
17841808
},
17851809
"arrayminus": {
17861810
"key_type": "data",
1787-
"val_types": "number: x >= 0",
1811+
"val_types": "list or 1d numpy array of numbers, strings, datetimes",
17881812
"required": false,
17891813
"description": "Has an effect only when 'symmetric' is set to False. Same as 'array' but corresponding to the span of the error bars left of the trace coordinates"
17901814
},
@@ -2451,7 +2475,7 @@
24512475
},
24522476
"arrayminus": {
24532477
"key_type": "data",
2454-
"val_types": "number: x >= 0",
2478+
"val_types": "list or 1d numpy array of numbers, strings, datetimes",
24552479
"required": false,
24562480
"description": "Has an effect only when 'symmetric' is set to False. Same as 'array' but corresponding to the span of the error bars below the trace coordinates"
24572481
},
@@ -3969,7 +3993,7 @@
39693993
"annotation = Annotation(\n text='what i want this to say is:<br>THIS!',\n x=0,\n y=0,\n xref='paper',\n yref='paper,\n yanchor='bottom',\n xanchor='left')"
39703994
],
39713995
"links": [
3972-
"https://plot.ly/python//text-and-annotations/"
3996+
"https://plot.ly/python/text-and-annotations/"
39733997
],
39743998
"keymeta": {
39753999
"x": {

submodules/graph_reference

Submodule graph_reference updated from e4a518d to 9d31f81

0 commit comments

Comments
 (0)