Skip to content

Commit 3f10d59

Browse files
committed
Revert "Should fix readme rendering for pypi"
This reverts commit c697686.
1 parent 9b3437f commit 3f10d59

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

README.rst

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,7 @@ Only certain types of bitmaps work with this library, and they often have to be
2323
Usage Example
2424
=============
2525

26-
.. code-block:: python
27-
28-
import board
29-
import displayio
30-
import adafruit_imageload
31-
32-
image, palette = adafruit_imageload.load(
33-
"images/4bit.bmp", bitmap=displayio.Bitmap, palette=displayio.Palette
34-
)
35-
tile_grid = displayio.TileGrid(image, pixel_shader=palette)
36-
37-
group = displayio.Group()
38-
group.append(tile_grid)
39-
board.DISPLAY.show(group)
40-
41-
while True:
42-
pass
43-
26+
.. literalinclude:: ../examples/imageload_simpletest.py
4427

4528
Contributing
4629
============

0 commit comments

Comments
 (0)