Skip to content

Commit 835d5a4

Browse files
committed
Merge pull request plotly#133 from plotly/graph_reference_update
updated graph ref?
2 parents 2fa2cae + d5a0dbf commit 835d5a4

File tree

3 files changed

+106
-10
lines changed

3 files changed

+106
-10
lines changed

plotly/graph_reference/graph_objs_meta.json

Lines changed: 104 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,20 @@
163163
"required": false,
164164
"description": "Toggles whether or not this object will be visible on the rendered figure."
165165
},
166+
"xsrc": {
167+
"key_type": "data",
168+
"val_types": "a string equal to the unique identifier of a plotly grid column",
169+
"required": " when 'y','r' and 't' are unset",
170+
"description": "Sets the x coordinates of the points of this 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'.",
171+
"streamable": true
172+
},
173+
"ysrc": {
174+
"key_type": "data",
175+
"val_types": "a string equal to the unique identifier of a plotly grid column",
176+
"required": " when 'x','r' and 't' are unset",
177+
"description": "Sets the y coordinates of the points of this 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'.",
178+
"streamable": true
179+
},
166180
"type": {
167181
"key_type": "plot_info",
168182
"val_types": "'scatter'",
@@ -273,6 +287,20 @@
273287
"required": false,
274288
"description": "Toggles whether or not this object will be visible on the rendered figure."
275289
},
290+
"xsrc": {
291+
"key_type": "data",
292+
"val_types": "a string equal to the unique identifier of a plotly grid column",
293+
"required": " when 'y' is unset",
294+
"description": "Sets the x coordinates of the bars. 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'. If 'y' is not set, the bars are plotted horizontally, with their length determined by the list or 1d numpy array linked to 'x'.",
295+
"streamable": true
296+
},
297+
"ysrc": {
298+
"key_type": "data",
299+
"val_types": "a string equal to the unique identifier of a plotly grid column",
300+
"required": " when 'x' is unset",
301+
"description": "Sets the y coordinates of the bars. 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'. If 'x' is not set, the bars are plotted vertically, with their length determined by the list or 1d numpy array linked to 'y'.",
302+
"streamable": true
303+
},
276304
"r": {
277305
"key_type": "data",
278306
"val_types": "list or 1d numpy array of numbers",
@@ -434,6 +462,20 @@
434462
"required": false,
435463
"description": "Toggles whether or not this object will be visible on the rendered figure."
436464
},
465+
"xsrc": {
466+
"key_type": "data",
467+
"val_types": "a string equal to the unique identifier of a plotly grid column",
468+
"required": " when 'y' is unset",
469+
"description": "Sets the data sample to be binned (done by Plotly) on the x-axis and plotted as vertical bars.",
470+
"streamable": true
471+
},
472+
"ysrc": {
473+
"key_type": "data",
474+
"val_types": "a string equal to the unique identifier of a plotly grid column",
475+
"required": " when 'x' is unset",
476+
"description": "Sets the data sample to be binned (done by Plotly) on the y-axis and plotted as horizontal bars.",
477+
"streamable": true
478+
},
437479
"type": {
438480
"key_type": "plot_info",
439481
"val_types": "'histogram'",
@@ -574,6 +616,20 @@
574616
"required": false,
575617
"description": "Toggles whether or not this object will be visible on the rendered figure."
576618
},
619+
"xsrc": {
620+
"key_type": "data",
621+
"val_types": "a string equal to the unique identifier of a plotly grid column",
622+
"required": false,
623+
"description": "Usually, you do not need to set this value as plotly will handle box locations for you. However this allows you to have fine control over the ___location data for the box. Unlike making a bar, a box plot is made of many y values. Therefore, to give ___location data to the values you place in 'y', the length of 'x' must equal the length of 'y'. when making multiple box plots, you can concatenate the data sets for each box into a single 'y' array. then, the entries in 'x' define which box plot each entry in 'y' belongs to. When making a single box plot, you must set each entry in 'x' to the same value, see 'x0' for a more practical way to handle this case. If you don't include 'x', the box will simply be assigned a ___location.",
624+
"streamable": true
625+
},
626+
"ysrc": {
627+
"key_type": "data",
628+
"val_types": "a string equal to the unique identifier of a plotly grid column",
629+
"required": true,
630+
"description": "This array is used to define an individual box plot, or, a concatenation of multiple box plots. Statistics from these numbers define the bounds of the box, the length of the whiskers, etc. For details on defining multiple boxes with locations see 'x'. Each box spans from the first quartile to the third. The second quartile is marked by a line inside the box. By default, the whiskers are correspond to box' edges +/- 1.5 times the interquartile range. See also 'boxpoints' for more info",
631+
"streamable": true
632+
},
577633
"type": {
578634
"key_type": "plot_info",
579635
"val_types": "'box'",
@@ -1112,6 +1168,20 @@
11121168
"required": false,
11131169
"description": "Toggles whether or not this object will be visible on the rendered figure."
11141170
},
1171+
"xsrc": {
1172+
"key_type": "data",
1173+
"val_types": "a string equal to the unique identifier of a plotly grid column",
1174+
"required": true,
1175+
"description": "Sets the data sample to be binned on the x-axis and whose distribution (computed by Plotly) will correspond to the x-coordinates of this 2D histogram trace.",
1176+
"streamable": true
1177+
},
1178+
"ysrc": {
1179+
"key_type": "data",
1180+
"val_types": "a string equal to the unique identifier of a plotly grid column",
1181+
"required": true,
1182+
"description": "Sets the data sample to be binned on the y-axis and whose distribution (computed by Plotly) will correspond to the y-coordinates of this 2D histogram trace.",
1183+
"streamable": true
1184+
},
11151185
"type": {
11161186
"key_type": "plot_info",
11171187
"val_types": "'histogram2d'",
@@ -1304,6 +1374,20 @@
13041374
"required": false,
13051375
"description": "Toggles whether or not this object will be visible on the rendered figure."
13061376
},
1377+
"xsrc": {
1378+
"key_type": "data",
1379+
"val_types": "a string equal to the unique identifier of a plotly grid column",
1380+
"required": true,
1381+
"description": "Sets the data sample to be binned on the x-axis and whose distribution (computed by Plotly) will correspond to the x-coordinates of this 2D histogram trace.",
1382+
"streamable": true
1383+
},
1384+
"ysrc": {
1385+
"key_type": "data",
1386+
"val_types": "a string equal to the unique identifier of a plotly grid column",
1387+
"required": true,
1388+
"description": "Sets the data sample to be binned on the y-axis and whose distribution (computed by Plotly) will correspond to the y-coordinates of this 2D histogram trace.",
1389+
"streamable": true
1390+
},
13071391
"type": {
13081392
"key_type": "plot_info",
13091393
"val_types": "'histogram2dcontour'",
@@ -3652,13 +3736,13 @@
36523736
},
36533737
"bargap": {
36543738
"key_type": "style",
3655-
"val_types": "number: x >= 0",
3739+
"val_types": "number: x in [0, 1)",
36563740
"required": false,
36573741
"description": "For bar and histogram plots only. Sets the gap between bars (or sets of bars) at different locations."
36583742
},
36593743
"bargroupgap": {
36603744
"key_type": "style",
3661-
"val_types": "number: x >= 0",
3745+
"val_types": "number: x in [0, 1)",
36623746
"required": false,
36633747
"description": "For bar and histogram plots only. Sets the gap between bars in the same group. That is, when multiple bar objects are plotted and share the same locations, this sets the distance between bars at each ___location."
36643748
},
@@ -3668,6 +3752,18 @@
36683752
"required": false,
36693753
"description": "For box plots only. Sets how groups of box plots appear. If set to 'overlay', a group of boxes will be plotted directly on top of one another at their specified ___location. If set to 'group', the boxes will be centered around their shared ___location, but they will not overlap."
36703754
},
3755+
"boxgap": {
3756+
"key_type": "style",
3757+
"val_types": "number: x in [0, 1)",
3758+
"required": false,
3759+
"description": "For box plots only. Sets the gap between boxes at different locations (i.e. x-labels). If there are multiple boxes at a single x-label, then this sets the gap between these sets of boxes.For example, if 0, then there is no gap between boxes. If 0.25, then this gap occupies 25% of the available space and the box width (or width of the set of boxes) occupies the remaining 75%."
3760+
},
3761+
"boxgroupgap": {
3762+
"key_type": "style",
3763+
"val_types": "number: x in [0, 1)",
3764+
"required": false,
3765+
"description": "For box plots only. Sets the gap between boxes in the same group, where a group is the set of boxes with the same ___location (i.e. x-label). For example, if 0, then there is no gap between boxes. If 0.25, then this gap occupies 25% of the available space and the box width occupies the remaining 75%."
3766+
},
36713767
"radialaxis": {
36723768
"key_type": "object",
36733769
"val_types": "dictionary-like object",
@@ -3784,13 +3880,13 @@
37843880
"key_type": "style",
37853881
"val_types": "number",
37863882
"required": false,
3787-
"description": "Sets the 'x' position of this legend.Use in conjunction with 'xref' and 'xanchor' to fine-tune the ___location of this legend."
3883+
"description": "Sets the 'x' position of this legend. Use in conjunction with 'xref' and 'xanchor' to fine-tune the ___location of this legend."
37883884
},
37893885
"y": {
37903886
"key_type": "style",
37913887
"val_types": "number",
37923888
"required": false,
3793-
"description": "Sets the 'y' position of this legend.Use in conjunction with 'yref' and 'yanchor' to fine-tune the ___location of this legend."
3889+
"description": "Sets the 'y' position of this legend. Use in conjunction with 'yref' and 'yanchor' to fine-tune the ___location of this legend."
37943890
},
37953891
"traceorder": {
37963892
"key_type": "style",
@@ -3880,22 +3976,22 @@
38803976
"key_type": "plot_info",
38813977
"val_types": "number",
38823978
"required": false,
3883-
"description": "Sets the 'x' position of this annotation.Use in conjunction with 'xref' and 'xanchor' to fine-tune the ___location of this annotation."
3979+
"description": "Sets the 'x' position of this annotation. Use in conjunction with 'xref' and 'xanchor' to fine-tune the ___location of this annotation."
38843980
},
38853981
"y": {
38863982
"key_type": "plot_info",
38873983
"val_types": "number",
38883984
"required": false,
3889-
"description": "Sets the 'y' position of this annotation.Use in conjunction with 'yref' and 'yanchor' to fine-tune the ___location of this annotation."
3985+
"description": "Sets the 'y' position of this annotation. Use in conjunction with 'yref' and 'yanchor' to fine-tune the ___location of this annotation."
38903986
},
38913987
"xref": {
3892-
"key_type": "style",
3988+
"key_type": "plot_info",
38933989
"val_types": "'paper' | 'x1' | 'x2' | etc",
38943990
"required": false,
38953991
"description": "Sets the x coordinate system which this object refers to. If you reference an axis, e.g., 'x2', the object will move with pan-and-zoom to stay fixed to this point. If you reference the 'paper', it remains fixed regardless of pan-and-zoom. In other words, if set to 'paper', the 'x' ___location refers to the distance from the left side of the plotting area in normalized coordinates where 0 is 'left' and 1 is 'right'. If set to refer to an xaxis' , e.g., 'x1', 'x2', 'x3', etc., the 'x' ___location will refer to the ___location in terms of this axis."
38963992
},
38973993
"yref": {
3898-
"key_type": "style",
3994+
"key_type": "plot_info",
38993995
"val_types": "'paper' | 'y1' | 'y2' | etc",
39003996
"required": false,
39013997
"description": "Sets the y coordinate system which this object refers to. If you reference an axis, e.g., 'y2', the object will move with pan-and-zoom to stay fixed to this point. If you reference the 'paper', it remains fixed regardless of pan-and-zoom. In other words, if set to 'paper', the 'y' ___location refers to the distance from the left side of the plotting area in normalized coordinates where 0 is 'bottom' and 1 is 'top'. If set to refer to an yaxis' , e.g., 'y1', 'y2', 'y3', etc., the 'y' ___location will refer to the ___location in terms of this axis."

plotly/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.3.0'
1+
__version__ = '1.3.1'

submodules/graph_reference

Submodule graph_reference updated from 7c1bc82 to e4a518d

0 commit comments

Comments
 (0)