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: CHANGELOG.md
+8
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,14 @@
2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
+
## UNRELEASED
6
+
7
+
### Updated
8
+
- Updated Plotly.js from version 2.29.1 to version 2.30.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2300----2024-03-06) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. Notable changes include:
9
+
- Add fill gradients for scatter traces [[#6905](https://github.com/plotly/plotly.js/pull/6905)], with thanks to @lumip for the contribution!
10
+
- Add `indentation` to legend [[#6874](https://github.com/plotly/plotly.js/pull/6874)], with thanks to @my-tien for the contribution!
Copy file name to clipboardExpand all lines: packages/python/plotly/codegen/resources/plot-schema.json
+40-1
Original file line number
Diff line number
Diff line change
@@ -2848,6 +2848,13 @@
2848
2848
"valType": "number"
2849
2849
}
2850
2850
},
2851
+
"indentation": {
2852
+
"description": "Sets the indentation (in px) of the legend entries.",
2853
+
"dflt": 0,
2854
+
"editType": "legend",
2855
+
"min": -15,
2856
+
"valType": "number"
2857
+
},
2851
2858
"itemclick": {
2852
2859
"description": "Determines the behavior on legend item click. *toggle* toggles the visibility of the item clicked on the graph. *toggleothers* makes the clicked item the sole visible item on the graph. *false* disables legend item click interactions.",
2853
2860
"dflt": "toggle",
@@ -45035,10 +45042,42 @@
45035
45042
},
45036
45043
"fillcolor": {
45037
45044
"anim": true,
45038
-
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
45045
+
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
45039
45046
"editType": "style",
45040
45047
"valType": "color"
45041
45048
},
45049
+
"fillgradient": {
45050
+
"colorscale": {
45051
+
"description": "Sets the fill gradient colors as a color scale. The color scale is interpreted as a gradient applied in the direction specified by *orientation*, from the lowest to the highest value of the scatter plot along that axis, or from the center to the most distant point from it, if orientation is *radial*.",
45052
+
"editType": "style",
45053
+
"valType": "colorscale"
45054
+
},
45055
+
"description": "Sets a fill gradient. If not specified, the fillcolor is used instead.",
45056
+
"editType": "calc",
45057
+
"role": "object",
45058
+
"start": {
45059
+
"description": "Sets the gradient start value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is *horizontal*, the gradient will be horizontal and start from the x-position given by start. If omitted, the gradient starts at the lowest value of the trace along the respective axis. Ignored if orientation is *radial*.",
45060
+
"editType": "calc",
45061
+
"valType": "number"
45062
+
},
45063
+
"stop": {
45064
+
"description": "Sets the gradient end value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is *horizontal*, the gradient will be horizontal and end at the x-position given by end. If omitted, the gradient ends at the highest value of the trace along the respective axis. Ignored if orientation is *radial*.",
45065
+
"editType": "calc",
45066
+
"valType": "number"
45067
+
},
45068
+
"type": {
45069
+
"description": "Sets the type/orientation of the color gradient for the fill. Defaults to *none*.",
0 commit comments