Skip to content

Commit 701951a

Browse files
authored
Merge pull request #5004 from plotly/version-6-ddk
Add note on DDK compatibility
2 parents 94e618a + f3163db commit 701951a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

doc/python/performance.md

+4
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ The following [array data types](https://numpy.org/devdocs/reference/arrays.scal
7878

7979
Arrays or data types that are not supported for base64 encoding to Plotly.js's typed arrays specification will still work and render correctly with Plotly. Those arrays and or data types just won't have the performance benefits that Plotly.js's base64 typed arrays feature provides.
8080

81+
### Dash Design Kit Compatibility
82+
83+
The Dash Design Kit `Graph` component from versions of Dash Design Kit earlier than 1.13 doesn't work with Plotly.py version 6 when using Python objects listed in the previous "Arrays and Data Types Supported". Upgrade Dash Design Kit to 1.13 or later to resolve this issue.
84+
8185
### Unsupported Attributes
8286

8387
Arrays passed to attributes with the following names are not supported for base64 encoding for rendering with Plotly.js.

doc/python/v6-changes.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,12 @@ pip install anywidget
5757

5858
Plotly.py now takes advantage of recent changes in how Plotly.js handles typed arrays for improved performance. See the [performance page](https://plotly.com/python/performance/) for more details.
5959

60+
> If you are using Plotly.py 6 or later with Dash Design Kit, you may need to upgrade your Dash Design Kit version. See the [Dash Design Kit Compatibility section on the performance page](/python/performance/#dash-design-kit-compatibility) for more details.
61+
62+
6063
## Dataframe Support
6164

62-
Plotly Express now uses [Narwhals](https://narwhals-dev.github.io/narwhals/) to natively support pandas, Polars, and PyArrow. With this change, the [performance](https://plotly.com/python/performance/) of using Polars or PyArrow with Plotly Express is significantly improved.
65+
Plotly Express now uses [Narwhals](https://narwhals-dev.github.io/narwhals/) to natively support pandas, Polars, and PyArrow. With this change, the [performance](https://plotly.com/python/performance/) of using Polars or PyArrow with Plotly Express is significantly improved.
6366

6467
## Mapbox Deprecation
6568

0 commit comments

Comments
 (0)