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
|`codegen [--noformat]`| Regenerate Python files according to `plot-schema.json`.`--noformat` skips formatter step. |
320
334
|`lint`| Lint all Python code in `plotly/`. |
321
335
|`format`| Format all Python code in `plotly/`. |
322
-
|`updateplotlyjs`| Update `plotly.min.js` and `plot-schema.json` to match the `plotly.js` version specified in `js/package.json`. Then, run codegen to regenerate the Python files. |
336
+
|`updateplotlyjs`| Update `plotly.min.js` and `plot-schema.json` to match the `plotly.js` version specified in `js/package.json`, run codegen to regenerate the Python files, then run `npm install` in `js/` to refresh `js/package-lock.json`. Set `SKIP_NPM=1` to skip the npm step. |
323
337
|`updateplotlyjsdev [--devrepo REPONAME --devbranch BRANCHNAME] \| [--local PATH]`| Update `plot-schema.json` and `plotly.min.js` to match the version in the provided plotly.js repo name and branch name, OR local path. Then, run codegen to regenerate the Python files. |
324
338
|`bumpversion X.Y.Z`| Update the plotly.py version number to X.Y.Z across all files where it needs to be updated. |
Copy file name to clipboardExpand all lines: codegen/resources/plot-schema.json
+18-1Lines changed: 18 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3063,6 +3063,17 @@
3063
3063
"y unified"
3064
3064
]
3065
3065
},
3066
+
"hoversort": {
3067
+
"description": "Determines the order of items shown in unified hover labels. If *trace*, items are sorted by trace index. If *value descending*, items are sorted by value from largest to smallest. If *value ascending*, items are sorted by value from smallest to largest. Only applies when `hovermode` is *x unified* or *y unified*.",
3068
+
"dflt": "trace",
3069
+
"editType": "none",
3070
+
"valType": "enumerated",
3071
+
"values": [
3072
+
"trace",
3073
+
"value descending",
3074
+
"value ascending"
3075
+
]
3076
+
},
3066
3077
"hoversubplots": {
3067
3078
"description": "Determines expansion of hover effects to other subplots If *single* just the axis pair of the primary point is included without overlaying subplots. If *overlaying* all subplots using the main axis and occupying the same space are included. If *axis*, also include stacked subplots using the same axis when `hovermode` is set to *x*, *x unified*, *y* or *y unified*.",
3068
3079
"dflt": "overlaying",
@@ -56775,11 +56786,17 @@
56775
56786
}
56776
56787
},
56777
56788
"legendrank": {
56778
-
"description": "Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with *reversed* `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout.",
56789
+
"arrayOk": true,
56790
+
"description": "Sets the legend rank for this pie. If passed as an array, this will set the legend rank of the individual pie slices. Items and groups with smaller ranks are presented on top/left side while with *reversed* `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout.",
56779
56791
"dflt": 1000,
56780
56792
"editType": "style",
56781
56793
"valType": "number"
56782
56794
},
56795
+
"legendranksrc": {
56796
+
"description": "Sets the source reference on Chart Studio Cloud for `legendrank`.",
56797
+
"editType": "none",
56798
+
"valType": "string"
56799
+
},
56783
56800
"legendsrc": {
56784
56801
"description": "Sets the source reference on Chart Studio Cloud for `legend`.",
0 commit comments