This repository was archived by the owner on Apr 20, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 33
33
import math
34
34
import re
35
35
36
+ # pylint: disable=invalid-name
37
+
36
38
RGB = "RGB"
37
39
RBG = "RBG"
38
40
GRB = "GRB"
@@ -63,11 +65,11 @@ class PixelBuf(object): # pylint: disable=too-many-instance-attributes
63
65
"""
64
66
A sequence of RGB/RGBW pixels.
65
67
66
- This is the pure python implementation of PixelBuf .
68
+ This is the pure python implementation of _pixelbuf .
67
69
68
70
:param ~int n: Number of pixels
69
71
:param ~bytearray buf: Bytearray to store pixel data in
70
- :param ~str byteorder: Byte order string constant from `pixelbuf` (also sets the bpp)
72
+ :param ~str byteorder: Byte order string constant (also sets the bpp)
71
73
:param ~float brightness: Brightness (0 to 1.0, default 1.0)
72
74
:param ~bytearray rawbuf: Bytearray to store raw pixel colors in
73
75
:param ~int offset: Offset from start of buffer (default 0)
@@ -203,7 +205,7 @@ def brightness(self, value):
203
205
@property
204
206
def byteorder (self ):
205
207
"""
206
- ` ByteOrder` string for the buffer (read-only)
208
+ ByteOrder string for the buffer (read-only)
207
209
"""
208
210
return self ._byteorder_string
209
211
You can’t perform that action at this time.
0 commit comments