Skip to content

Commit 427bea4

Browse files
authored
Imported draft material (#1)
* Imported draft material * Added missing files and fixed some scripts * Added instruction for creating the figures
1 parent 7f5e26e commit 427bea4

34 files changed

+3604
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fonts*

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,28 @@
11
# cheatsheets
22
Various cheat sheets for matplotlib
3+
4+
# How to compile
5+
6+
1. You need to create a `fonts` repository with:
7+
8+
* `fonts/roboto/*` : See https://fonts.google.com/specimen/Roboto
9+
* `fonts/source-code-pro/*` : See https://fonts.google.com/specimen/Source+Code+Pro
10+
* `fonts/source-sans-pro/*` : See https://fonts.google.com/specimen/Source+Sans+Pro
11+
* `fonts/source-serif-pro/*` : See https://fonts.google.com/specimen/Source+Serif+Pro
12+
13+
2. You need to generate all the figures:
14+
15+
```
16+
$ cd scripts
17+
$ for script in *.py; do python $script; done
18+
$ cd ..
19+
```
20+
21+
3. Compile the sheet
22+
```
23+
$ xelatex cheatsheet-basic.tex
24+
$ xelatex cheatsheet-basic.tex
25+
```
26+
27+
28+

0 commit comments

Comments
 (0)