Skip to content

Commit

Permalink
Changed Pixels model and updated documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andon-Li committed Feb 8, 2024
1 parent e66199a commit 86bc02f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,9 @@ Properties

.. attribute:: pixels

List of RGB tuples.
List of row tuples that contain RGB tuples.

:rtype: list[tuple(int, int, int)]
:rtype: list[tuple(tuple(int, int, int), ...)]

.. attribute:: pos

Expand Down
2 changes: 1 addition & 1 deletion src/mss/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Monitors = List[Monitor]

Pixel = Tuple[int, int, int]
Pixels = List[Pixel]
Pixels = List[Tuple[Pixel, ...]]

Pos = collections.namedtuple("Pos", "left, top")
Size = collections.namedtuple("Size", "width, height")
Expand Down

0 comments on commit 86bc02f

Please sign in to comment.