Skip to content

Commit 9c7dc27

Browse files
LiamConnorsemilykl
andauthored
Update doc/python/performance.md
Co-authored-by: Emily KL <[email protected]>
1 parent 3bd901b commit 9c7dc27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/python/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ 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

5151
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.
5252

0 commit comments

Comments
 (0)