Skip to content

Commit df65774

Browse files
committed
Merge branch 'version-6-migration' of https://github.com/plotly/plotly.py into version-6-migration
2 parents 458a5d4 + 4cdd340 commit df65774

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/python/performance.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jupyter:
3636
thumbnail: thumbnail/webgl.jpg
3737
---
3838

39-
## DataFrames Types
39+
## DataFrame Types
4040

4141
*New in Plotly.py version 6*
4242

@@ -46,9 +46,9 @@ Plotly Express natively supports [pandas, Polars, PyArrow, and Modin dataframes]
4646

4747
*New in Plotly.py version 6*
4848

49-
You can improve the performance of generating Plotly figures that use a large number of data points by using NumPy arrays and other objects that Plotly can convert to NumPy arrays, such as Pandas and Polars Series.
49+
You can improve the performance of generating Plotly figures that use a large number of data points by passing data as NumPy arrays, or in a format that Plotly can convert easily to NumPy arrays, such as Pandas and Polars Series or DataFrames. These formats will usually show better performance than passing data as a Python list.
5050

51-
Plotly.py uses Plotly.js for rendering, which supports typed arrays. In Plotly.py, NumPy array and NumPy-convertible arrays are base64 encoded before being passed to Plotly.js for rendering.
51+
Plotly.py uses Plotly.js for rendering, which supports typed arrays. In Plotly.py, NumPy arrays and NumPy-convertible arrays are base64 encoded before being passed to Plotly.js for rendering.
5252

5353
### Arrays and Data Types Supported
5454

0 commit comments

Comments
 (0)