This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cs501r_f2016:lab1 [2016/08/31 18:16] wingated |
cs501r_f2016:lab1 [2017/09/07 18:46] humphrey |
||
---|---|---|---|
Line 138: | Line 138: | ||
import matplotlib.pyplot as plt | import matplotlib.pyplot as plt | ||
+ | </code> | ||
+ | |||
+ | Here is a full setup for cairo in linux, which should be sufficiently similar to mac: | ||
+ | <code> | ||
+ | 1. sudo apt-get install libcairo2-dev | ||
+ | 2. git clone https://github.com/pygobject/pycairo.git | ||
+ | 3. cd pycairo/ | ||
+ | 4. python setup.py build | ||
+ | 5. python setup.py install | ||
</code> | </code> | ||