{"id":13869726,"url":"https://github.com/andrewcharlesjones/plottify","last_synced_at":"2026-01-29T03:24:33.727Z","repository":{"id":45212428,"uuid":"441697763","full_name":"andrewcharlesjones/plottify","owner":"andrewcharlesjones","description":"A simple matplotlib wrapper that automatically scales font sizes, scatter point sizes, and line widths to be proportional to figure size.","archived":false,"fork":false,"pushed_at":"2021-12-31T11:09:42.000Z","size":1817,"stargazers_count":109,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T14:05:46.553Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewcharlesjones.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-25T14:40:17.000Z","updated_at":"2025-06-10T06:17:38.000Z","dependencies_parsed_at":"2022-09-18T04:21:50.679Z","dependency_job_id":null,"html_url":"https://github.com/andrewcharlesjones/plottify","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/andrewcharlesjones/plottify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewcharlesjones%2Fplottify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewcharlesjones%2Fplottify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewcharlesjones%2Fplottify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewcharlesjones%2Fplottify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewcharlesjones","download_url":"https://codeload.github.com/andrewcharlesjones/plottify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewcharlesjones%2Fplottify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265451443,"owners_count":23767768,"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-05T20:01:13.906Z","updated_at":"2026-01-29T03:24:28.674Z","avatar_url":"https://github.com/andrewcharlesjones.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# plottify\n\n[![PyPI](https://img.shields.io/pypi/v/plottify.svg?logo=pypi\u0026logoColor=white\u0026label=PyPI)](https://pypi.org/project/plottify/)\n\nThe plottify package is makes matplotlib plots more legible. It's a thin wrapper around [matplotlib](https://matplotlib.org/) that automatically adjusts font sizes, scatter point sizes, line widths, etc. according to the figure size.\n\n## Installation\n\n```\npip install plottify\n```\n\n## Usage\n\nThe plottify interface is extremely simple and relies on one central function, `autosize()`. After you've created a plot, simply call `autosize()` and the sizes will be adjusted:\n\n```python\nfrom plottify import autosize\nimport matplotlib.pyplot as plt\n\nplt.scatter(x, y)\nautosize()\nplt.show()\n```\n\nIf you have a matplotlib figure object, you can pass it as an argument to `autosize`:\n\n```python\nautosize(fig)\n```\n\n## Demonstration\n\nBy default, matplotlib sets the sizes of these objects to pre-specified values, regardless of the figure size. This can result in tiny fonts or sizes for larger figures.\n\nPlottify's `autosize` function adjusts these sizes automatically to make them more legible. When we change the figure size, plottify automatically adjusts the objects' sizes.\n\n![demo](examples/plots/demo.png)\n\n## Bugs and feature requests\n\nPlease report any bugs or feature requests as a GitHub issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewcharlesjones%2Fplottify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewcharlesjones%2Fplottify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewcharlesjones%2Fplottify/lists"}