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: test/plot-schema.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2964,7 +2964,7 @@
2964
2964
"valType": "boolean"
2965
2965
},
2966
2966
"x": {
2967
-
"description": "Sets the x position (in normalized coordinates) of the legend. Defaults to *1.02* for vertical legends and defaults to *0* for horizontal legends.",
2967
+
"description": "Sets the x position with respect to `xref` (in normalized coordinates) of the legend. When `xref` is *paper*, defaults to *1.02* for vertical legends and defaults to *0* for horizontal legends. When `xref` is *container*, defaults to *1* for vertical legends and defaults to *0* for horizontal legends. Must be between *0* and *1* if `xref` is *container*.",
2968
2968
"editType": "legend",
2969
2969
"max": 3,
2970
2970
"min": -2,
@@ -2984,7 +2984,7 @@
2984
2984
},
2985
2985
"xref": {
2986
2986
"description": "Sets the container `x` refers to. *container* spans the entire `width` of the plot. *paper* refers to the width of the plotting area only.",
2987
-
"dflt": "container",
2987
+
"dflt": "paper",
2988
2988
"editType": "layoutstyle",
2989
2989
"valType": "enumerated",
2990
2990
"values": [
@@ -2993,7 +2993,7 @@
2993
2993
]
2994
2994
},
2995
2995
"y": {
2996
-
"description": "Sets the y position (in normalized coordinates) of the legend. Defaults to *1* for vertical legends, defaults to *-0.1* for horizontal legends on graphs w/o range sliders and defaults to *1.1* for horizontal legends on graph with one or multiple range sliders.",
2996
+
"description": "Sets the y position with respect to `yref` (in normalized coordinates) of the legend. When `yref` is *paper*, defaults to *1* for vertical legends, defaults to *-0.1* for horizontal legends on graphs w/o range sliders and defaults to *1.1* for horizontal legends on graph with one or multiple range sliders. When `yref` is *container*, defaults to *1*. Must be between *0* and *1* if `yref` is *container*.",
2997
2997
"editType": "legend",
2998
2998
"max": 3,
2999
2999
"min": -2,
@@ -3012,7 +3012,7 @@
3012
3012
},
3013
3013
"yref": {
3014
3014
"description": "Sets the container `y` refers to. *container* spans the entire `height` of the plot. *paper* refers to the height of the plotting area only.",
0 commit comments