@@ -31,7 +31,7 @@ adjustments, or with :class:`~pyqtgraph.HistogramLUTItem` or
31
31
table used to display the image.
32
32
33
33
An image can be placed into a plot area of a given extent directly through the
34
- :meth: `ImageItem.setRect <pyqtgraph.ImageItem.setRect> ` method or the `` rect ` ` keyword.
34
+ :meth: `ImageItem.setRect <pyqtgraph.ImageItem.setRect> ` method or the `rect ` keyword.
35
35
This is internally realized through assigning a :class: `QTransform `. For other
36
36
translation, scaling or rotations effects that persist for all later image data, the
37
37
user can also directly define and assign such a transform, as shown in the example
@@ -43,7 +43,7 @@ Performance
43
43
-----------
44
44
45
45
The performance of :class: `~pyqtgraph.ImageItem ` can vary *significantly * based on
46
- attributes of the `` image `` , `` levels `` and `` lut ` ` input arguments. It should not be
46
+ attributes of the `image `, `levels ` and `lut ` input arguments. It should not be
47
47
assumed that the default parameters are the most performant, as the default values are
48
48
largely there to preserve backwards compatibility.
49
49
@@ -55,12 +55,12 @@ The following guidance should be observed if performance is an important factor
55
55
:python: `pyqtgraph.setConfigOption('imageAxisOrder', 'row-major') `
56
56
57
57
* Use C-contiguous image data.
58
- * For 1 or 3 channel data, use `uint8 `, `uint16 `, `float32 `, or `float64 ` `` image ` `
58
+ * For 1 or 3 channel data, use `uint8 `, `uint16 `, `float32 `, or `float64 ` `image `
59
59
dtype.
60
60
* For 4-channel data, use `uint8 ` or `uint16 ` with :python: `levels=None `.
61
- * `` levels ` ` should be set to either to ``None `` or to single channel ``[min, max] ``
61
+ * `levels ` should be set to either to ``None `` or to single channel ``[min, max] ``
62
62
63
- * Not setting `` levels ` ` will trigger autoLevels sampling
63
+ * Not setting `levels ` will trigger autoLevels sampling
64
64
65
65
* If using LUTs (lookup tables), ensure they have a dtype of `uint8 ` and have 256
66
66
points or less. That can be accomplished with calling:
@@ -69,7 +69,7 @@ The following guidance should be observed if performance is an important factor
69
69
* :func: `ImageItem.setLookupTable <pyqtgraph.ImageItem.setLookupTable> ` with
70
70
:python: `ColorMap.getLookupTable(nPts=256) ` (default is :python: `nPts=512 `)
71
71
72
- * For floating point `` image ` ` arrays, prefer `float32 ` dtype to `float64 ` and avoid
72
+ * For floating point `image ` arrays, prefer `float32 ` dtype to `float64 ` and avoid
73
73
``NaN `` values.
74
74
* Enable Numba with :python: `pyqtgraph.setConfigOption('useNumba', True) `
75
75
0 commit comments