diff --git a/CHANGELOG.md b/CHANGELOG.md index e33bd42ec..1c6416ff5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] +### Updated +- [#693](https://github.com/plotly/dash-core-components/pull/693) Upgraded plotly.js to 1.51.1 + - [Feature release 1.51.0](https://github.com/plotly/plotly.js/releases/tag/v1.51.0) which contains: + - A new `image` trace type to display 3- or 4-channel color images as data + - `automargin` for `pie` charts for better readability when labeling lots of small slices + - Toggle-type `updatemenus` + - `zh-CN` localization + - And various other small features and bug fixes + - Patch release [1.51.1](https://github.com/plotly/plotly.js/releases/tag/v1.51.1) containing several bug fixes. + ## [1.4.0] - 2019-10-29 ### Added - [#616](https://github.com/plotly/dash-core-components/pull/616) Async Graph and Plotly.js diff --git a/dash_core_components_base/__init__.py b/dash_core_components_base/__init__.py index 95e25212a..1088dbc19 100644 --- a/dash_core_components_base/__init__.py +++ b/dash_core_components_base/__init__.py @@ -80,10 +80,10 @@ 'dynamic': True }, { - 'relative_package_path': 'plotly-1.50.1.min.js', + 'relative_package_path': 'plotly-1.51.1.min.js', 'external_url': ( 'https://unpkg.com/dash-core-components@{}' - '/dash_core_components/plotly-1.50.1.min.js' + '/dash_core_components/plotly-1.51.1.min.js' ).format(__version__), 'namespace': 'dash_core_components', 'async': 'eager' diff --git a/package-lock.json b/package-lock.json index a83753bc8..50806539c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2756,9 +2756,9 @@ "dev": true }, "array-normalize": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/array-normalize/-/array-normalize-1.1.3.tgz", - "integrity": "sha1-c/uDf0gW7BkVHTxejYU6RZDOAb0=", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/array-normalize/-/array-normalize-1.1.4.tgz", + "integrity": "sha512-fCp0wKFLjvSPmCn4F5Tiw4M3lpMZoHlCjfcs7nNzuj3vqQQ1/a8cgB9DXcpDSn18c+coLnaW7rqfcYCvKbyJXg==", "requires": { "array-bounds": "^1.0.0" } @@ -7545,9 +7545,9 @@ } }, "gl-cone3d": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/gl-cone3d/-/gl-cone3d-1.5.0.tgz", - "integrity": "sha512-Hkdx04QvqbzkHAP1nt4jkJD9F9hwJBqZR6ty2DbnQgkgWfIC2sRksDbzFkwPQ3HscTBNLdnuPIBBZ3123jBBVg==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/gl-cone3d/-/gl-cone3d-1.5.1.tgz", + "integrity": "sha512-R8m2lPfVN5ip/IPzykvMNgUUGWTkp9rMuCrVknKIkhjH+gaQeGfwF3+WrB0kwq3FRWvlYWcfdvabv37sZ2rKYA==", "requires": { "colormap": "^2.3.1", "gl-buffer": "^2.1.2", @@ -7711,9 +7711,9 @@ } }, "gl-plot3d": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/gl-plot3d/-/gl-plot3d-2.2.2.tgz", - "integrity": "sha512-is8RoDVUEbUM7kJ2qjhKJlfGLECH3ML9pTCW1V7ylUdmUACmcZ4lzJrQr/NIRkHC5WcUNOp3QJKPjBND3ngZ2A==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/gl-plot3d/-/gl-plot3d-2.3.0.tgz", + "integrity": "sha512-qg269QiLpaw16d2D5Gz9fa8vsLcA8kbX/cv1u9S7BsH6jD9qGYxsY8iWJ8ea9/68WhPS5En2kUavkXINkmHsOQ==", "requires": { "3d-view": "^2.0.0", "a-big-triangle": "^1.0.3", @@ -12457,9 +12457,9 @@ } }, "plotly.js": { - "version": "1.50.1", - "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-1.50.1.tgz", - "integrity": "sha512-+IbuR3wkr5p+0vatSm25O/KTppIWtDuJofxk2wLWpDIq0Cr39+v2cGoHtDFDhk/xm0zsrHzi9Id5oP79Ji63QQ==", + "version": "1.51.1", + "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-1.51.1.tgz", + "integrity": "sha512-EOAP6hne7e8RyH2fo0dyTuRKiAO04TVYECK65EMrK8jnP5AqSbHIypnroNCm/nfYj3sn5DTl+GX5XsJKpyM4Aw==", "requires": { "@plotly/d3-sankey": "0.7.2", "@plotly/d3-sankey-circular": "0.33.1", @@ -12478,7 +12478,7 @@ "delaunay-triangulate": "^1.1.6", "es6-promise": "^3.0.2", "fast-isnumeric": "^1.1.3", - "gl-cone3d": "^1.4.1", + "gl-cone3d": "^1.5.1", "gl-contour2d": "^1.1.6", "gl-error3d": "^1.0.15", "gl-heatmap2d": "^1.0.5", @@ -12486,12 +12486,12 @@ "gl-mat4": "^1.2.0", "gl-mesh3d": "^2.1.1", "gl-plot2d": "^1.4.2", - "gl-plot3d": "^2.2.2", + "gl-plot3d": "^2.3.0", "gl-pointcloud2d": "^1.0.2", "gl-scatter3d": "^1.2.2", "gl-select-box": "^1.0.3", "gl-spikes2d": "^1.0.2", - "gl-streamtube3d": "^1.3.1", + "gl-streamtube3d": "^1.4.0", "gl-surface3d": "^1.4.6", "gl-text": "^1.1.8", "glslify": "^7.0.0", @@ -12505,13 +12505,13 @@ "ndarray": "^1.0.18", "ndarray-fill": "^1.0.2", "ndarray-homography": "^1.0.0", - "point-cluster": "^3.1.4", + "point-cluster": "^3.1.8", "polybooljs": "^1.2.0", "regl": "^1.3.11", "regl-error2d": "^2.0.8", - "regl-line2d": "^3.0.14", - "regl-scatter2d": "^3.1.5", - "regl-splom": "^1.0.7", + "regl-line2d": "^3.0.15", + "regl-scatter2d": "^3.1.7", + "regl-splom": "^1.0.8", "right-now": "^1.0.0", "robust-orientation": "^1.1.3", "sane-topojson": "^4.0.0", @@ -12531,18 +12531,18 @@ "dev": true }, "point-cluster": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/point-cluster/-/point-cluster-3.1.7.tgz", - "integrity": "sha512-U7rv1gHdcQONHa3RQV3YvoWV2CQKYapckcAzoZbwbyXBCiLU7YtlsSWIpHrzoLSB8+mCUvFArdnkPZNuiCAs9g==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/point-cluster/-/point-cluster-3.1.8.tgz", + "integrity": "sha512-7klIr45dpMeZuqjIK9+qBg3m2IhyZJNJkdqjJFw0Olq75FM8ojrTMjClVUrMjNYRVqtwztxCHH71Fyjhg+YwyQ==", "requires": { "array-bounds": "^1.0.1", - "array-normalize": "^1.1.3", + "array-normalize": "^1.1.4", "binary-search-bounds": "^2.0.4", "bubleify": "^1.1.0", "clamp": "^1.0.1", "defined": "^1.0.0", "dtype": "^2.0.0", - "flatten-vertex-data": "^1.0.0", + "flatten-vertex-data": "^1.0.2", "is-obj": "^1.0.1", "math-log2": "^1.0.1", "parse-rect": "^1.2.0", @@ -13759,12 +13759,12 @@ } }, "regl-line2d": { - "version": "3.0.14", - "resolved": "https://registry.npmjs.org/regl-line2d/-/regl-line2d-3.0.14.tgz", - "integrity": "sha512-F5Ru1Bugi6Xkk2JJ4EuzAybuL99CtnAr6VIrJVJdsaFzWmI9GfPFtwbNZROeOrXXX7yElyc0HQsQDJaNpSeWmg==", + "version": "3.0.15", + "resolved": "https://registry.npmjs.org/regl-line2d/-/regl-line2d-3.0.15.tgz", + "integrity": "sha512-RuQbg9iZ6MyuInG8izF6zjQ/2g4qL6sg1egiuFalWzaGSvuve/IWBsIcqKTlwpiEsRt9b4cHu9NYs2fLt1gYJw==", "requires": { "array-bounds": "^1.0.1", - "array-normalize": "^1.1.3", + "array-normalize": "^1.1.4", "bubleify": "^1.2.0", "color-normalize": "^1.5.0", "earcut": "^2.1.5", @@ -13778,11 +13778,10 @@ } }, "regl-scatter2d": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/regl-scatter2d/-/regl-scatter2d-3.1.6.tgz", - "integrity": "sha512-mnLcwQzTHWgmkiD+5fToNaKJ7QNylvOcBJ/1roJJkIAtr1jnvgXiqrkeqkMIb8IVBKvm00/lCdPZat6Qifxvmw==", + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/regl-scatter2d/-/regl-scatter2d-3.1.7.tgz", + "integrity": "sha512-FWw1hMsQrV3Y0zMU8YOytGjwSBuV3V58t8GR/mhlSL2S04jXLK1m2eAa/rDP3SpvMDkdVEr744PPDeHwsZVUhA==", "requires": { - "array-bounds": "^1.0.1", "array-range": "^1.0.1", "array-rearrange": "^2.2.2", "clamp": "^1.0.1", @@ -13796,15 +13795,15 @@ "object-assign": "^4.1.1", "parse-rect": "^1.2.0", "pick-by-alias": "^1.2.0", - "point-cluster": "^3.1.5", + "point-cluster": "^3.1.8", "to-float32": "^1.0.1", "update-diff": "^1.1.0" } }, "regl-splom": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/regl-splom/-/regl-splom-1.0.7.tgz", - "integrity": "sha512-17ltp68/pCMFOU2gSIIFRTRMmsCRpDFzPUF9jkZhT8IDimI83jkU/2nP4vAHTIfd+HZ/Ip+eFrNx2aKV9FMDwQ==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/regl-splom/-/regl-splom-1.0.8.tgz", + "integrity": "sha512-4GQTgcArCbGLsXhgalWVBxeW7OXllnu+Gvil/4SbQQmtiqLCl+xgF79pISKY9mLXTlobxiX7cVKdjGjp25559A==", "requires": { "array-bounds": "^1.0.1", "array-range": "^1.0.1", @@ -13815,7 +13814,7 @@ "left-pad": "^1.3.0", "parse-rect": "^1.2.0", "pick-by-alias": "^1.2.0", - "point-cluster": "^3.1.4", + "point-cluster": "^3.1.8", "raf": "^3.4.1", "regl-scatter2d": "^3.1.2" } @@ -15470,9 +15469,9 @@ }, "dependencies": { "glob": { - "version": "7.1.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", - "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", + "version": "7.1.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.5.tgz", + "integrity": "sha512-J9dlskqUXK1OeTOYBEn5s8aMukWMwWfs+rPTn/jn50Ux4MNXVhubL1wu/j2t+H4NVI+cXEcCaYellqaPVGXNqQ==", "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", diff --git a/package.json b/package.json index f59cb444d..ef88473f5 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "color": "^3.1.0", "fast-isnumeric": "^1.1.3", "moment": "^2.20.1", - "plotly.js": "1.50.1", + "plotly.js": "1.51.1", "prop-types": "^15.6.0", "ramda": "^0.26.1", "rc-slider": "^8.6.11", diff --git a/tests/integration/calendar/test_date_picker_single.py b/tests/integration/calendar/test_date_picker_single.py index 040d915bf..5b6bdc752 100644 --- a/tests/integration/calendar/test_date_picker_single.py +++ b/tests/integration/calendar/test_date_picker_single.py @@ -114,9 +114,7 @@ def cb(clicks): switch.click() memorized = dash_dcc.select_date_single("dps-memory", day="4") - amnesiaed = dash_dcc.select_date_single( - "dps-none", day="1", outside_month=True - ) + amnesiaed = dash_dcc.select_date_single("dps-none", day="11") switch.click() assert dash_dcc.wait_for_text_to_equal("#out", "switched")