{"id":24475790,"url":"https://github.com/haykh/myplotlib","last_synced_at":"2025-04-13T13:21:36.505Z","repository":{"id":42704009,"uuid":"369873465","full_name":"haykh/myplotlib","owner":"haykh","description":"matplotlib binder with custom styles and routines for fast plotting","archived":false,"fork":false,"pushed_at":"2024-10-10T04:25:43.000Z","size":94105,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T15:50:05.917Z","etag":null,"topics":["matplotlib","plotting","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/myplotlib/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haykh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-22T17:55:11.000Z","updated_at":"2024-10-10T15:53:14.000Z","dependencies_parsed_at":"2025-01-21T09:38:47.202Z","dependency_job_id":null,"html_url":"https://github.com/haykh/myplotlib","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haykh%2Fmyplotlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haykh%2Fmyplotlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haykh%2Fmyplotlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haykh%2Fmyplotlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haykh","download_url":"https://codeload.github.com/haykh/myplotlib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248718100,"owners_count":21150506,"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":["matplotlib","plotting","python"],"created_at":"2025-01-21T09:27:28.426Z","updated_at":"2025-04-13T13:21:36.485Z","avatar_url":"https://github.com/haykh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `myplotlib`\n\n`matplotlib` binder with custom styles and routines for fast plotting. see [previews of available styles](https://github.com/haykh/myplotlib/tree/master/previews#readme).\n\n### installation\n\n```shell\npip install myplotlib\n```\n\n### usage\n\n#### loading style, fonts \u0026 colormaps\n\n```python\nimport myplotlib\nimport matplotlib.pyplot as plt\n\nplt.style.use(STYLE)\n# STYLE can be:\n# - fancy.dark, fancy.light\n# - hershey.dark, hershey.light\n# - mono.dark, mono.light\n# - latex\n\n# you may also combine the styles:\nplt.style.use([STYLE1, STYLE2])\n\n# and you can temporarily load the style:\nwith plt.style.context(STYLE):\n    plt.plot(...)\n```\n\n#### auxiliary plotting functions\n\n```python\nimport myplotlib.plots as myplt\n# type for docstring:\nmyplt?\n\n# for specific function:\nmyplt.plot2d?\n\n# preview custom styles with built-in functions\nimport myplotlib.tests as mypltest\n# type for docstring:\nmypltest?\n```\n\nfor more usage examples checkout the `tests/` submodule.\n\n### requirements\n\n* `python \u003e= 3.8`\n* `matplotlib \u003e= 3.5.0`, `numpy`\n* `latex` (used for `style=\"fancy\"` only)\n* `numba\u003e=0.57.0`\n\n### development\n\nBuilding tarballs in the `dist` directory:\n\n```sh\npython -m build --sdist --outdir dist .\n```\n\n### To-do\n\n- [ ] isocontour plotting\n- [x] add streamplot for fieldline plotting\n- [x] print all the newly added colormaps and the default color sequence\n- [x] add a test plot for the demo\n- [x] add image to readme\n- [x] dark mode\n- [x] monotype non-Latex mode\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaykh%2Fmyplotlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaykh%2Fmyplotlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaykh%2Fmyplotlib/lists"}