Skip to content

Commit 57f2c71

Browse files
committed
Merge branch 'version-6-migration' of https://github.com/plotly/plotly.py into version-6-migration
2 parents aebdbe5 + 39fdfea commit 57f2c71

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/python/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Each `plotly` trace type is rendered with either SVG or WebGL. The following tra
127127

128128
### WebGL Limitations and Tradeoffs
129129

130-
WebGL is a powerful technology for accelerating computation but comes with some strict limitations:
130+
WebGL is a powerful technology for accelerating rendering but comes with some strict limitations:
131131

132132
1. GPU requirement: WebGL is a GPU (graphics card) technology and therefore requires specific hardware which is available in most but not all cases and is supported by most but not all browsers.
133133
2. Rasterization: WebGL-rendered data is drawn as a grid of pixels rather than as individual shapes, so can appear pixelated or fuzz in certain cases, and when exported to static file formats will appear pixelated on zoom. In addition, text rendering will differ between SVG and WebGL-powered traces.

doc/python/px-arguments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Many more examples of wide-form and messy data input can be found in our [detail
119119

120120
The first argument of every `px` function is `data_frame`. If you provide a dataframe as a `px` function's first argument, you can then specify column names as strings from the dataframe as other arguments.
121121

122-
### Supported Dataframes
122+
### Supported DataFrame Types
123123

124124
`px` functions natively support pandas, Polars, and PyArrow dataframes. `px` uses [Narwhals](https://narwhals-dev.github.io/narwhals/) to provide this native dataframe support. Other types of dataframes that are currently supported by Narwhals, for example cuDF and Modin, may also work with `px`.
125125

@@ -233,7 +233,7 @@ fig.show()
233233

234234
### Passing dictionaries or array-likes as the data_frame argument
235235

236-
The column-based argument `data_frame` can also be passed with a `dict` or `array`. Using a dictionary can be a convenient way to pass column names used in axis titles, legend entries and hovers without creating a dataframe.
236+
The `data_frame` argument can also accept a `dict` or `array` in addition to DataFrame objects. Using a dictionary can be a convenient way to pass column names used in axis titles, legend entries and hovers without creating a dataframe.
237237

238238
```python
239239
import plotly.express as px

0 commit comments

Comments
 (0)