{"id":24433096,"url":"https://github.com/ap--/properfigsize","last_synced_at":"2026-04-22T23:32:34.581Z","repository":{"id":147864912,"uuid":"59750669","full_name":"ap--/properfigsize","owner":"ap--","description":"proper figure sizes with matplotlib and pdflatex","archived":false,"fork":false,"pushed_at":"2016-05-26T13:03:16.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-02T06:12:25.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ap--.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-05-26T13:01:29.000Z","updated_at":"2016-05-26T13:03:17.000Z","dependencies_parsed_at":"2023-05-27T18:00:17.512Z","dependency_job_id":null,"html_url":"https://github.com/ap--/properfigsize","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ap--/properfigsize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap--%2Fproperfigsize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap--%2Fproperfigsize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap--%2Fproperfigsize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap--%2Fproperfigsize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ap--","download_url":"https://codeload.github.com/ap--/properfigsize/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap--%2Fproperfigsize/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32159954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T17:06:48.269Z","status":"ssl_error","status_checked_at":"2026-04-22T17:06:19.037Z","response_time":58,"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":[],"created_at":"2025-01-20T16:02:51.049Z","updated_at":"2026-04-22T23:32:34.576Z","avatar_url":"https://github.com/ap--.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# properfigsize\n\nUse the proper figure size for your matplotlib plots that you embed in a PDF with pdflatex.\nFinally no more stupid font size scaling after you created all your plots and compile you PDF.\n\n## Usage\n\nLook at the example in the examples folder. Let's say you want to create a PDF with 2 plots.\nOne of them is going to be one column wide in your two column document, the other plot will\nbe two columns wide. You know the aspect ratios your plots should have, but not the final\nsizes in your document. With **properfigsize** you can use a placeholder figsize which will\nbe set to the correct size, after running your plotting script twice. It's important that\nyou use `tight_layout=True` when creating your matplotlib figure.\n\n## Installation\n\n```\npip install git+https://github.com/ap--/properfigsize.git\n```\n\n## Run the example\n\nYou need pdflatex and matplotlib. To see the resulting document.pdf file, run:\n```\npython example.py  # first pass\npython example.py  # second pass, figures now have the correct size\npdflatex document.tex\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fap--%2Fproperfigsize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fap--%2Fproperfigsize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fap--%2Fproperfigsize/lists"}