Skip to content

Commit cf7ac59

Browse files
committed
change order of dtypes + mention specifying dtype in numpy
1 parent 8a3769c commit cf7ac59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/python/webgl-vs-svg.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,18 +224,18 @@ The following types of objects in Python are supported for improved performance:
224224

225225
The following array data types are supported:
226226

227+
- float32
228+
- float64
227229
- int8
228230
- uint8
229231
- int16
230232
- uint16
231233
- int32
232234
- uint32
233-
- float32
234-
- float64
235235
- int64*
236236
- uint64*
237237

238-
*If the array dtype is **int64** and **uint64**, often the default dtype for arrays in NumPy when no dtype is specified, those dtypes will be changed to other types internally by Plotly.py where possible.
238+
*If the array dtype is **int64** and **uint64**, often the default dtype for arrays in NumPy when no dtype is specified, those dtypes will be changed to other types internally by Plotly.py where possible. When working with NumPY directly, you can [specify the `dtype`](https://numpy.org/doc/stable/user/basics.types.html#array-types-and-conversions-between-types) when creating `ndarray` objects.
239239

240240
### Unsupported Attributes
241241

0 commit comments

Comments
 (0)