- Notifications
You must be signed in to change notification settings - Fork911
Official Matplotlib cheat sheets
License
NotificationsYou must be signed in to change notification settings
matplotlib/cheatsheets
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Cheatsheet(download pdf) | |
---|---|
Beginner handout(download pdf) | Intermediate handout(download pdf) | Tips handout(download pdf) |
---|---|---|
- You need to create a
fonts
repository with:
fonts/roboto/*
: Seehttps://fonts.google.com/specimen/Robotoorhttps://github.com/googlefonts/roboto/tree/master/src/hintedfonts/roboto-slab/*
: Seehttps://fonts.google.com/specimen/Roboto+Slaborhttps://github.com/googlefonts/robotoslab/tree/master/fonts/staticfonts/source-code-pro/*
: Seehttps://fonts.google.com/specimen/Source+Code+Proorhttps://github.com/adobe-fonts/source-code-pro/tree/release/OTFfonts/source-sans-pro/*
: Seehttps://fonts.google.com/specimen/Source+Sans+Proorhttps://github.com/adobe-fonts/source-sans-pro/tree/release/OTFfonts/source-serif-pro/*
: Seehttps://fonts.google.com/specimen/Source+Serif+Proorhttps://github.com/adobe-fonts/source-serif-pro/tree/release/OTFfonts/eb-garamond/*
: Seehttps://bitbucket.org/georgd/eb-garamond/src/masterfonts/pacifico/*
: Seehttps://fonts.google.com/download?family=Pacifico
On Linux, withmake
installed, the fonts can be set up with the following command:
make -C fonts
The fonts can be made discoverable bymatplotlib
(throughfontconfig
) by creating the following in$HOME/.config/fontconfig/fonts.conf
(seehere):
<?xml version="1.0"?><!DOCTYPEfontconfig SYSTEM "fonts.dtd"><fontconfig><dir>/path/to/cheatsheets/fonts/</dir>...</fontconfig>
- You need to generate all the figures:
$ cd scripts$ for script in *.py; do python $script; done$ cd ..
- Compile the sheet
$ xelatex cheatsheets.tex$ xelatex cheatsheets.tex
About
Official Matplotlib cheat sheets
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.