Skip to content

Commit 42b3141

Browse files
2 parents bfa1432 + 72d8014 commit 42b3141

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ CedarGroveStudios/CircuitPython_PaletteSlice
1919
:target: https://github.com/psf/black
2020
:alt: Code Style: Black
2121

22-
*A CircuitPython wrapper class to add list slice and extended slice capability to a ``displayio.Palette`` object while preserving transparency.*
22+
*A CircuitPython wrapper class to add list slice and extended slice capability to a displayio.Palette object while preserving transparency.*
2323

2424
The default functionality of a ``displayio.Palette`` object is similar to a Python list object, but very limited. For example, the integer value of color elements of the palette can be modified but only one element can be changed at a time. The PaletteSlice wrapper class provides the ability to use a slice object to specify a subset of a palette to change or to create a new palette from a source palette. Both slice and extended slice objects are supported.
2525

@@ -123,14 +123,14 @@ Usage Example
123123
# Create a new palette from the sliceable palette
124124
new_sliced_palette = sliceable_palette[0:124:2]
125125
126-
``paletteslice_simpletest.py``, ``paletteslice_acme_simpletest.py``, and ``paletteslice_ulab_test.py`` are contained in the ``examples`` folder.
127-
128126
Using slice with narray Pseudocolor Palettes:
129127

130128
.. image:: https://github.com/CedarGroveStudios/CircuitPython_PaletteSlice/blob/main/media/display_capture_composite.png
131129
:alt: Using slice with narray Pseudocolor Palettes
132130
:width: 600pt
133131

132+
``paletteslice_simpletest.py``, ``paletteslice_acme_simpletest.py``, and ``paletteslice_ulab_test.py`` are contained in the ``examples`` folder.
133+
134134
Documentation
135135
=============
136136
`PaletteSlice API Documentation <https://github.com/CedarGroveStudios/CircuitPython_PaletteSlice/blob/main/media/pseudo_rtd_cedargrove_paletteslice.pdf>`_

0 commit comments

Comments
 (0)