Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Official Matplotlib cheat sheets

License

NotificationsYou must be signed in to change notification settings

matplotlib/cheatsheets

Repository files navigation

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

  1. You need to create afonts repository with:

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>
  1. You need to generate all the figures:
$ cd scripts$ for script in *.py; do python $script; done$ cd ..
  1. Compile the sheet
$ xelatex cheatsheets.tex$ xelatex cheatsheets.tex

[8]ページ先頭

©2009-2025 Movatter.jp