{"id":22691705,"url":"https://github.com/swvanbuuren/mlpyqtgraph","last_synced_at":"2026-02-21T17:07:15.858Z","repository":{"id":40237005,"uuid":"499243639","full_name":"swvanbuuren/mlpyqtgraph","owner":"swvanbuuren","description":"Matplotlib like plotting with pyqtgraph in python","archived":false,"fork":false,"pushed_at":"2026-02-14T14:29:36.000Z","size":532,"stargazers_count":6,"open_issues_count":9,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-14T22:47:46.874Z","etag":null,"topics":["interactive-plotting","matplotlib","plotting","plotting-in-python","pqthreads","pyqtgraph","pyside","python","qt-for-python"],"latest_commit_sha":null,"homepage":"https://swvanbuuren.github.io/mlpyqtgraph/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swvanbuuren.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-02T18:18:16.000Z","updated_at":"2026-02-14T14:29:39.000Z","dependencies_parsed_at":"2024-11-25T19:34:08.117Z","dependency_job_id":"60276bcb-b678-4653-921e-f342d617eecc","html_url":"https://github.com/swvanbuuren/mlpyqtgraph","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/swvanbuuren/mlpyqtgraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swvanbuuren%2Fmlpyqtgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swvanbuuren%2Fmlpyqtgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swvanbuuren%2Fmlpyqtgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swvanbuuren%2Fmlpyqtgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swvanbuuren","download_url":"https://codeload.github.com/swvanbuuren/mlpyqtgraph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swvanbuuren%2Fmlpyqtgraph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29688220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T15:51:39.154Z","status":"ssl_error","status_checked_at":"2026-02-21T15:49:03.425Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["interactive-plotting","matplotlib","plotting","plotting-in-python","pqthreads","pyqtgraph","pyside","python","qt-for-python"],"created_at":"2024-12-10T01:12:00.669Z","updated_at":"2026-02-21T17:07:15.839Z","avatar_url":"https://github.com/swvanbuuren.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mlpyqtgraph\n\nmlpyqtgraph enables [matplotlib](https://matplotlib.org/)-like plotting with\n[pyqtgraph](https://github.com/pyqtgraph/pyqtgraph) in existing python programs.\nIt relies on [pqthreads](https://github.com/swvanbuuren/pqthreads) to separate mlpyqtgraph's plotting functionality from the existing python program, by separating them in different `Qthread`s.\n\nCheckout the [documentation's\nintroduction](https://swvanbuuren.github.io/mlpyqtgraph/introduction/) for more\nbackground information.\n\n## Getting started\n\n### Installation\n\nFirst, install mlpyqtgraph like any other python package using `pip`:\n\n``` bash\npip install mlpyqtgraph\n```\n\nDetailed installation instructions are found in the\n[documentation](https://swvanbuuren.github.io/mlpyqtgraph/installation/).\n\n### Usage\n\nTo use mlpyqtgraph, decorate your main function with mlpyqtgraph's `plotter`\ndecorator. This diverts the existing python program into a dedicated thread,\nwhile using the main thread solely for plotting with pyqtgraph.\n\nNow you can use mlpyqtgraph's plot functionalities inside your decorated\nfunction. A python program that shows a very basic plot could look like this:\n\n```python\nimport mlpyqtgraph as mpg\n\n@mpg.plotter\ndef main():\n    \"\"\" Minimal mlpyqtgraph example \"\"\"\n    mpg.plot(range(5), (1, 3, 2, 0, 5))\n\nif __name__ == '__main__':\n    main()\n```\n\n## Examples\n\nPlease refer to the [examples](/examples) for a few applications of mlpyqtgraph.\n\n## Documentation\n\nCheck out the [documentation](https://swvanbuuren.github.io/mlpyqtgraph/)!\nPlease note that it's currently still under construction.\n\n## Pre-commit hooks\n\nThis repository comes with pre-commit hooks. To enable the hooks issue:\n\n```bash\nuv run pre-commit install --install-hooks\n```\n\n## License\n\nAn MIT style license applies for mlpyqtgraph, see the [LICENSE](LICENSE) file\nfor more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswvanbuuren%2Fmlpyqtgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswvanbuuren%2Fmlpyqtgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswvanbuuren%2Fmlpyqtgraph/lists"}