Skip to content

Commit a7a5543

Browse files
committed
adding readme examples
1 parent 2dc3e61 commit a7a5543

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ For detailed view of the library please refer to the `Quick start guide <https:/
2727

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

30+
.. image:: https://github.com/jposada202020/CircuitPython_uplot/blob/main/docs/readme3.png
31+
32+
.. image:: https://github.com/jposada202020/CircuitPython_uplot/blob/main/docs/readme4.png
3033

3134
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
3235

circuitpython_uplot/shade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def __init__(
100100
plot._plotbitmap,
101101
min(xnorm),
102102
min(y1norm),
103-
max(xnorm),
103+
max(xnorm) + 1,
104104
max(y2norm),
105105
plot._index_colorused,
106106
)

docs/examples.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ Scatter using different datasets
8484

8585
Example showing how to use different datasets
8686

87-
.. literalinclude:: ../examples/scatter.py
88-
:caption: examples/scatter.py
87+
.. literalinclude:: ../examples/scatter_using_different_datasets.py
88+
:caption: examples/scatter_using_different_datasets.py
8989
:lines: 5-
9090
.. image:: ../docs/scatter_using_different_datasets.jpg
9191

docs/readme3.png

9.57 KB
Loading

docs/readme4.png

33.6 KB
Loading

0 commit comments

Comments
 (0)