{"id":13802150,"url":"https://github.com/romilly/microplot","last_synced_at":"2026-01-17T09:55:38.970Z","repository":{"id":53712376,"uuid":"340680374","full_name":"romilly/microplot","owner":"romilly","description":"Simple MicroPython plotting package","archived":false,"fork":false,"pushed_at":"2021-03-23T11:28:00.000Z","size":14570,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-18T17:51:24.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/romilly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-20T14:58:49.000Z","updated_at":"2024-05-27T11:32:59.000Z","dependencies_parsed_at":"2022-08-29T01:00:37.644Z","dependency_job_id":null,"html_url":"https://github.com/romilly/microplot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romilly%2Fmicroplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romilly%2Fmicroplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romilly%2Fmicroplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romilly%2Fmicroplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romilly","download_url":"https://codeload.github.com/romilly/microplot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253942686,"owners_count":21988111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T00:01:37.418Z","updated_at":"2026-01-17T09:55:38.943Z","avatar_url":"https://github.com/romilly.png","language":"Python","readme":"# microplot\n\n## A simple MicroPython plotting package.\n\nThe current version runs on the Raspberry Pi Pico with the Pimoroni Pico Explorer base, the Adafruit Clue and \nAdafruit PyPortal.\n\nIt does Line plots amd Scatter plots at the moment.\n\nSome code was copied from https://www.instructables.com/Raspberry-Pi-Pico-Pico-Explorer-Workout/\n- Tony Goodhew's great introduction to the Pico Explorer.\n\nThe line drawing uses code from https://github.com/encukou/bresenham\nCopyright © 2016 Petr Viktorin\n\n![Sample Plot](docs/img/sine3.jpg)\n\n## Installation\n\nOn all platforms, copy the Python files in `src/microplot/shared` to the device.\n\nThen copy plotter.py from `src/micorplot/explorer` if you're using the Pomoroni explorer,\nor from `src/microplot/adafruit` if you're using one f the Adafruit devices.\n\n## Quick Start\n\nThere are three demos you can run:\n1. `demo.py` shows a single-line plot of a sine wave,\n1. `demo_multi.py` shows a plot of multiple sine waves,\n1. `scatter_demo.py` shows a scatter plot of some arbitrary data.\n\n## Bitmap saving\n\nThere's [code to save bitmaps](src/microplot/explorer/bitmapsaver.py) from the Pico Explorer Base.\n\nTo save bitmaps on the PyPortal you'll need to use a patched version of Adafruit's bitmap saver available\n[here](src/microplot/adafruit/adafruit_bitmapsaver.py) and then run code like [this demo](src/microplot/adafruit/code.py)\n\n## Samples\n\nThere are more [sample displays](SAMPLES.md) along with the code used to create them\n\n## Road Map\n\n1. Improve the documentation\n1. Add box plots\n1. Add examples for other displays\n1. Add a *Contributing* guide\n\n\n\n\n","funding_links":[],"categories":["Libraries"],"sub_categories":["Display"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromilly%2Fmicroplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromilly%2Fmicroplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromilly%2Fmicroplot/lists"}