Skip to content

Commit 249fef0

Browse files
authored
Update imshow.md
changing extreme back to extrema
1 parent c944597 commit 249fef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/python/imshow.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ fig.show()
231231

232232
### Automatic contrast rescaling in `px.imshow`
233233

234-
When `zmin` and `zmax` are not specified, the `contrast_rescaling` arguments determines how `zmin` and `zmax` are computed. For `contrast_rescaling='minmax'`, the extreme of the data range are used. For `contrast_rescaling='infer'`, a heuristic based on the data type is used:
234+
When `zmin` and `zmax` are not specified, the `contrast_rescaling` arguments determines how `zmin` and `zmax` are computed. For `contrast_rescaling='minmax'`, the extrema of the data range are used. For `contrast_rescaling='infer'`, a heuristic based on the data type is used:
235235
- for integer data types, `zmin` and `zmax` correspond to the extreme values of the data type, for example 0 and 255 for `uint8`, 0 and 65535 for `uint16`, etc.
236236
- for float numbers, the maximum value of the data is computed, and zmax is 1 if the max is smaller than 1, 255 if the max is smaller than 255, etc. (with higher thresholds 2**16 - 1 and 2**32 -1).
237237

0 commit comments

Comments
 (0)