Skip to content

Commit

Permalink
adding readme examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jposada202020 committed Aug 12, 2023
1 parent 2dc3e61 commit a7a5543
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ For detailed view of the library please refer to the `Quick start guide <https:/

.. image:: https://github.com/jposada202020/CircuitPython_uplot/blob/main/docs/readme2.png

.. image:: https://github.com/jposada202020/CircuitPython_uplot/blob/main/docs/readme3.png

.. image:: https://github.com/jposada202020/CircuitPython_uplot/blob/main/docs/readme4.png

Below a picture of a real live application. for more information visit the project `page <https://github.com/casainho/temperature_humidity_sensor_eink_display>`_. Thanks to @Casainho

Expand Down
2 changes: 1 addition & 1 deletion circuitpython_uplot/shade.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(
plot._plotbitmap,
min(xnorm),
min(y1norm),
max(xnorm),
max(xnorm) + 1,
max(y2norm),
plot._index_colorused,
)
Expand Down
4 changes: 2 additions & 2 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ Scatter using different datasets

Example showing how to use different datasets

.. literalinclude:: ../examples/scatter.py
:caption: examples/scatter.py
.. literalinclude:: ../examples/scatter_using_different_datasets.py
:caption: examples/scatter_using_different_datasets.py
:lines: 5-
.. image:: ../docs/scatter_using_different_datasets.jpg

Expand Down
Binary file added docs/readme3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/readme4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a7a5543

Please sign in to comment.