项目
在 GitHub 查看
matplotlib/cheatsheets
关于
Matplotlib 官方速查表
学习与教育实测星标增长
- 24小时
- +2
- 7天
- +2
- 15天
- +5
- 1个月
- +2
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Cheatsheets for Matplotlib users
Cheatsheets
| Cheatsheet (download pdf) | |
|---|---|
![]() |
![]() |
Handouts
| Beginner handout (download pdf) | Intermediate handout (download pdf) | Tips handout (download pdf) |
|---|---|---|
![]() |
![]() |
![]() |
For contributors to the cheatsheets
How to compile
- You need to create a
fontsrepository with:
fonts/roboto/*: See https://fonts.google.com/specimen/Roboto or https://github.com/googlefonts/roboto/tree/master/src/hintedfonts/roboto-slab/*: See https://fonts.google.com/specimen/Roboto+Slab or https://github.com/googlefonts/robotoslab/tree/master/fonts/staticfonts/source-code-pro/*: See https://fonts.google.com/specimen/Source+Code+Pro or https://github.com/adobe-fonts/source-code-pro/tree/release/OTFfonts/source-sans-pro/*: See https://fonts.google.com/specimen/Source+Sans+Pro or https://github.com/adobe-fonts/source-sans-pro/tree/release/OTFfonts/source-serif-pro/*: See https://fonts.google.com/specimen/Source+Serif+Pro or https://github.com/adobe-fonts/source-serif-pro/tree/release/OTFfonts/pacifico/*: See https://fonts.google.com/download?family=Pacifico
On Linux, with make installed, the fonts can be set up with the following command:
make -C fonts
The fonts can be made discoverable by matplotlib (through fontconfig) by creating the following in $HOME/.config/fontconfig/fonts.conf (see here):
<?xml version="1.0"?>
<!DOCTYPE fontconfig 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
探索相关项目
加载中…




