{"id":13665712,"url":"https://github.com/matplotlib/cheatsheets","last_synced_at":"2025-04-11T03:28:51.700Z","repository":{"id":37413588,"uuid":"261515636","full_name":"matplotlib/cheatsheets","owner":"matplotlib","description":"Official Matplotlib cheat sheets","archived":false,"fork":false,"pushed_at":"2025-03-24T08:10:05.000Z","size":24212,"stargazers_count":7441,"open_issues_count":17,"forks_count":906,"subscribers_count":132,"default_branch":"main","last_synced_at":"2025-04-03T08:22:10.388Z","etag":null,"topics":["cheatsheet","matplotlib","python"],"latest_commit_sha":null,"homepage":"https://matplotlib.org/cheatsheets/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matplotlib.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-05T15:50:03.000Z","updated_at":"2025-04-02T16:42:20.000Z","dependencies_parsed_at":"2023-01-31T20:15:27.326Z","dependency_job_id":"3e1c0eff-21fe-4010-a3b7-d2be29c8a453","html_url":"https://github.com/matplotlib/cheatsheets","commit_stats":{"total_commits":167,"total_committers":27,"mean_commits":6.185185185185185,"dds":0.6946107784431137,"last_synced_commit":"b3e710e75dfcf208971ec659ae5ca2f12cb466d1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matplotlib%2Fcheatsheets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matplotlib%2Fcheatsheets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matplotlib%2Fcheatsheets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matplotlib%2Fcheatsheets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matplotlib","download_url":"https://codeload.github.com/matplotlib/cheatsheets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694879,"owners_count":20980733,"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":["cheatsheet","matplotlib","python"],"created_at":"2024-08-02T06:00:48.194Z","updated_at":"2025-04-11T03:28:51.683Z","avatar_url":"https://github.com/matplotlib.png","language":"Python","readme":"# Cheatsheets for Matplotlib users\n\n## Cheatsheets\nCheatsheet [(download pdf)](https://matplotlib.org/cheatsheets/cheatsheets.pdf) | |\n:------------------------------------------------------------------------------:|:----------------------------------------------------------:\n![](https://matplotlib.org/cheatsheets/cheatsheets-1.png)                       | ![](https://matplotlib.org/cheatsheets/cheatsheets-2.png)\n\n## Handouts\n\nBeginner handout [(download pdf)](https://matplotlib.org/cheatsheets/handout-beginner.pdf) | Intermediate handout [(download pdf)](https://matplotlib.org/cheatsheets/handout-intermediate.pdf) | Tips handout [(download pdf)](https://matplotlib.org/cheatsheets/handout-tips.pdf)\n:-----------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------:\n![](https://matplotlib.org/cheatsheets/handout-beginner.png)                               | ![](https://matplotlib.org/cheatsheets/handout-intermediate.png)                                   | ![](https://matplotlib.org/cheatsheets/handout-tips.png)\n\n# For contributors to the cheatsheets\n\n## How to compile\n\n1. You need to create a `fonts` repository with:\n\n* `fonts/roboto/*`           : See https://fonts.google.com/specimen/Roboto\n                                or https://github.com/googlefonts/roboto/tree/master/src/hinted\n* `fonts/roboto-slab/*`      : See https://fonts.google.com/specimen/Roboto+Slab\n                                or https://github.com/googlefonts/robotoslab/tree/master/fonts/static\n* `fonts/source-code-pro/*`  : See https://fonts.google.com/specimen/Source+Code+Pro\n                                or https://github.com/adobe-fonts/source-code-pro/tree/release/OTF\n* `fonts/source-sans-pro/*`  : See https://fonts.google.com/specimen/Source+Sans+Pro\n                                or https://github.com/adobe-fonts/source-sans-pro/tree/release/OTF\n* `fonts/source-serif-pro/*` : See https://fonts.google.com/specimen/Source+Serif+Pro\n                                or https://github.com/adobe-fonts/source-serif-pro/tree/release/OTF\n* `fonts/eb-garamond/*`      : See https://bitbucket.org/georgd/eb-garamond/src/master\n* `fonts/pacifico/*`         : See https://fonts.google.com/download?family=Pacifico\n\nOn Linux, with `make` installed, the fonts can be set up with the following command:\n```shell\nmake -C fonts\n```\n\nThe fonts can be made discoverable by `matplotlib` (through `fontconfig`) by creating the following in `$HOME/.config/fontconfig/fonts.conf` (see [here](https://www.freedesktop.org/software/fontconfig/fontconfig-user.html)):\n\n```xml\n\u003c?xml version=\"1.0\"?\u003e\n\u003c!DOCTYPE fontconfig SYSTEM \"fonts.dtd\"\u003e\n\u003cfontconfig\u003e\n\u003cdir\u003e/path/to/cheatsheets/fonts/\u003c/dir\u003e\n...\n\u003c/fontconfig\u003e\n```\n\n\n2. You need to generate all the figures:\n\n```\n$ cd scripts\n$ for script in *.py; do python $script; done\n$ cd ..\n```\n\n3. Compile the sheet\n```\n$ xelatex cheatsheets.tex\n$ xelatex cheatsheets.tex\n```\n","funding_links":[],"categories":["Python","Python生态圈Dev\u0026Ops工具与服务","Figure Plotting","Language-Specific Tools","Python 程序","📋 Cheatsheets"],"sub_categories":["Others","Python","网络服务_其他","Miscellaneous"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatplotlib%2Fcheatsheets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatplotlib%2Fcheatsheets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatplotlib%2Fcheatsheets/lists"}