Skip to content

Commit 43f06a8

Browse files
committed
Updated formatting for referencing color
1 parent 67a566c commit 43f06a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adafruit_ht16k33/matrix.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def pixel(self, x: int, y: int, color: Optional[bool] = None) -> Optional[bool]:
3232
:param int x: The x coordinate of the pixel
3333
:param int y: The y coordinate of the pixel
3434
:param bool color: (Optional) The state to set the pixel
35-
:return: If `color` was not set, this returns the state of the pixel
35+
:return: If ``color`` was not set, this returns the state of the pixel
3636
:rtype: bool
3737
"""
3838
if not 0 <= x <= 7:
@@ -175,7 +175,7 @@ def pixel(self, x: int, y: int, color: Optional[bool] = None) -> Optional[bool]:
175175
:param int x: The x coordinate of the pixel
176176
:param int y: The y coordinate of the pixel
177177
:param bool color: (Optional) The state to set the pixel
178-
:return: If `color` was not set, this returns the state of the pixel
178+
:return: If ``color`` was not set, this returns the state of the pixel
179179
:rtype: bool
180180
"""
181181

@@ -198,7 +198,7 @@ def pixel(self, x: int, y: int, color: Optional[bool] = None) -> Optional[bool]:
198198
:param int x: The x coordinate of the pixel
199199
:param int y: The y coordinate of the pixel
200200
:param bool color: (Optional) The state to set the pixel
201-
:return: If `color` was not set, this returns the state of the pixel
201+
:return: If ``color`` was not set, this returns the state of the pixel
202202
:rtype: bool
203203
"""
204204

@@ -223,7 +223,7 @@ def pixel(self, x: int, y: int, color: Optional[bool] = None) -> Optional[bool]:
223223
:param int x: The x coordinate of the pixel
224224
:param int y: The y coordinate of the pixel
225225
:param bool color: (Optional) The state to set the pixel
226-
:return: If `color` was not set, this returns the state of the pixel
226+
:return: If ``color`` was not set, this returns the state of the pixel
227227
:rtype: bool
228228
"""
229229
if not 0 <= x <= 7:

0 commit comments

Comments
 (0)