@@ -24748,7 +24748,7 @@ module.exports = {
2474824748 },
2474924749 traceorder: {
2475024750 valType: 'flaglist',
24751- flags: ['reversed', 'grouped', 'alphabetical '],
24751+ flags: ['reversed', 'grouped', 'natural', 'normal '],
2475224752 extras: ['normal'],
2475324753
2475424754 editType: 'legend',
@@ -25772,13 +25772,13 @@ module.exports = function getLegendData(calcdata, opts) {
2577225772 // needed in repositionLegend
2577325773 opts._lgroupsLength = lgroupsLength;
2577425774
25775- if (opts.traceorder === "alphabetical ") {
25775+ if (opts.traceorder === "natural ") {
2577625776 legendData[0].sort((a, b) => {
2577725777 if (a[0] && a[0].label) {
25778- return a[0].label.localeCompare(b[0].label);
25778+ return a[0].label.localeCompare(b[0].label, undefined, {numeric: true} );
2577925779 } else {
2578025780 if (a[0] && a[0].trace && a[0].trace.name) {
25781- return a[0].trace.name.localeCompare(b[0].trace.name);
25781+ return a[0].trace.name.localeCompare(b[0].trace.name, undefined, {numeric: true} );
2578225782 }
2578325783 }
2578425784 });
@@ -32823,7 +32823,7 @@ exports.svgAttrs = {
3282332823var Plotly = require('./plotly');
3282432824
3282532825// package version injected by `npm run preprocess`
32826- exports.version = '1.33.1-ion38 ';
32826+ exports.version = '1.33.1-ion39 ';
3282732827
3282832828// inject promise polyfill
3282932829require('es6-promise').polyfill();
@@ -54825,7 +54825,7 @@ module.exports = overrideAll({
5482554825 valType: 'color',
5482654826
5482754827 dflt: constants.waterColor,
54828-
54828+ description: 'Sets color of the rivers.'
5482954829 },
5483054830 riverwidth: {
5483154831 valType: 'number',
0 commit comments