Skip to content

Commit

Permalink
Add scatter plot example. (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
corranwebster authored Oct 23, 2024
1 parent 04330de commit e61d8a3
Show file tree
Hide file tree
Showing 7 changed files with 1,284 additions and 7 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ Beautiful Micropython Graphics

<img src="./pico-tempe.png" width="480" alt="A Raspberry Pi Pico with a data visualization on a screen" />

<img src="./pico-tempe-shapes.png" width="480" alt="A Raspberry Pi Pico with a variety of shapes drawn on a screen" /> <img src=".//docs/source/user_guide/shapes.png" width="160" alt="A variety of shapes drawn in an image" />

<img src="./pico-tempe-polar.png" width="480" alt="A Raspberry Pi Pico with a variety of polar plots on the screen" /> <img src=".//docs/source/user_guide/polar.png" width="160" alt="A variety of polar plots drawn in an image" />

Tempe is a pure-Micropython graphics system designed to be make using the
full capabilities of display devices more accessible, particularly on
memory-constrained microcontrollers. The aim is to allow data scientists,
Expand All @@ -16,6 +12,14 @@ create beautiful, responsive displays without needing to worry about the
mechanics of rendering to bytes on the screen device, handling partial screen
updates, and so on.

## Gallery

<img src="./pico-tempe-shapes.png" width="480" alt="A Raspberry Pi Pico with a variety of shapes drawn on a screen" /> <img src="./docs/source/user_guide/shapes.png" width="160" alt="A variety of shapes drawn in an image" />

<img src="./pico-tempe-polar.png" width="480" alt="A Raspberry Pi Pico with a variety of polar plots on the screen" /> <img src="./docs/source/user_guide/polar.png" width="160" alt="A variety of polar plots drawn in an image" />

<img src="./docs/source/user_guide/line_plot_4.png" width="160" alt="A line plot of temperature over time drawn in an image" /> <img src="./docs/source/user_guide/scatter_plot.png" width="160" alt="A scatter plot of environmental data with scales drawn in an image" />

## Documentation

[Tempe Documentation](https://unital.github.io/tempe)
Expand Down
2 changes: 1 addition & 1 deletion ci/deploy_to_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def deploy():
deploy_py_files(Path("examples/data"), ":/data")
deploy_py_files(Path("src/tempe"), ":/lib/tempe")
#deploy_py_files(Path("src/tempe/fonts"), ":/lib/tempe/fonts")
#deploy_py_files(Path("src/tempe/colormaps"), ":/lib/tempe/colormaps")
deploy_py_files(Path("src/tempe/colormaps"), ":/lib/tempe/colormaps")
except subprocess.CalledProcessError as exc:
print("Error:")
print(exc.stderr)
Expand Down
Binary file added docs/source/user_guide/scatter_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e61d8a3

Please sign in to comment.